fixed merge conflict

This commit is contained in:
araq
2025-11-19 17:52:47 +01:00
5 changed files with 17 additions and 11 deletions

View File

@@ -31,7 +31,10 @@ const
{.push checks: off, stackTrace: off.}
proc utoa2Digits*(buf: var openArray[char]; pos: int; digits: uint32) {.inline.} =
when not defined(nimHasEnforceNoRaises):
{.pragma: enforceNoRaises.}
proc utoa2Digits*(buf: var openArray[char]; pos: int; digits: uint32) {.inline, enforceNoRaises.} =
buf[pos] = digits100[2 * digits]
buf[pos+1] = digits100[2 * digits + 1]
#copyMem(buf, unsafeAddr(digits100[2 * digits]), 2 * sizeof((char)))