allocators: add deallocAll proc pointer
This commit is contained in:
parent
a28090a8f2
commit
4ec91a30c4
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue