stylechecks workaround

This commit is contained in:
Jaremy Creechley 2023-08-29 17:19:58 -07:00
parent a5a64bdddf
commit 3806af5f5f
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,9 @@ import std/hashes
export hashes
when defined(nimHasStyleChecks):
{.push styleChecks: off.}
type
DataBufferHolder* = object
buf: ptr UncheckedArray[byte]

View File

@ -14,6 +14,9 @@ import threading/smartptrs
export key, query, smartptrs, databuffer
when defined(nimHasStyleChecks):
{.push styleChecks: off.}
push: {.upraises: [].}
type