mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 02:12:11 +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