Nix unchecked which has no semantics for objects.
This commit is contained in:
parent
970cfec6c2
commit
fc54fbfb98
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ proc close*(f: var MemFile) =
|
||||||
|
|
||||||
if error: raiseOSError(lastErr)
|
if error: raiseOSError(lastErr)
|
||||||
|
|
||||||
type MemSlice* {.unchecked.} = object
|
type MemSlice* = object
|
||||||
data*: pointer
|
data*: pointer
|
||||||
size*: int
|
size*: int
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue