mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-18 17:08:32 +00:00
allocators: add deallocAll proc pointer
This commit is contained in:
@@ -15,6 +15,7 @@ type
|
||||
alloc*: proc (a: Allocator; size: int; alignment: int = 8): pointer {.nimcall.}
|
||||
dealloc*: proc (a: Allocator; p: pointer; size: int) {.nimcall.}
|
||||
realloc*: proc (a: Allocator; p: pointer; oldSize, newSize: int): pointer {.nimcall.}
|
||||
deallocAll*: proc (a: Allocator) {.nimcall.}
|
||||
flags*: set[AllocatorFlag]
|
||||
|
||||
var
|
||||
|
||||
Reference in New Issue
Block a user