mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 15:23:27 +00:00
Nix unchecked which has no semantics for objects.
This commit is contained in:
@@ -245,7 +245,7 @@ proc close*(f: var MemFile) =
|
||||
|
||||
if error: raiseOSError(lastErr)
|
||||
|
||||
type MemSlice* {.unchecked.} = object
|
||||
type MemSlice* = object
|
||||
data*: pointer
|
||||
size*: int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user