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