mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-02 13:43:11 +00:00
stylechecks workaround
This commit is contained in:
parent
3f3e4b8d78
commit
64434b70b0
@ -3,6 +3,9 @@ import std/hashes
|
||||
|
||||
export hashes
|
||||
|
||||
when defined(nimHasStyleChecks):
|
||||
{.push styleChecks: off.}
|
||||
|
||||
type
|
||||
DataBufferHolder* = object
|
||||
buf: ptr UncheckedArray[byte]
|
||||
|
||||
@ -14,6 +14,9 @@ import threading/smartptrs
|
||||
|
||||
export key, query, smartptrs, databuffer
|
||||
|
||||
when defined(nimHasStyleChecks):
|
||||
{.push styleChecks: off.}
|
||||
|
||||
push: {.upraises: [].}
|
||||
|
||||
type
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user