memutils ~master (2021-01-03T18:41:41Z)
Dub
Repo
GCAllocator
memutils
memory
Undocumented in source.
final
class
GCAllocator :
Allocator
{
import
core
.
memory
:
GC
;
;
void
[]
alloc
(size_t sz);
void
[]
realloc
(void[] mem, size_t new_size);
void
free
(void[] mem);
}
Members
Functions
alloc
void
[]
alloc
(size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void
free
(void[] mem)
calls to free are optional if stability is favored over speed
realloc
void
[]
realloc
(void[] mem, size_t new_size)
Undocumented in source. Be warned that the author may not have intended to support it.
Inherited Members
From Allocator
alignment
enum
size_t
alignment
;
Undocumented in source.
alignmentMask
enum
size_t
alignmentMask
;
Undocumented in source.
alloc
void
[]
alloc
(size_t sz)
Undocumented in source.
realloc
void
[]
realloc
(void[] mem, size_t new_sz)
Undocumented in source.
free
void
free
(void[] mem)
Undocumented in source.
Meta
Source
See Implementation
memutils
memory
classes
GCAllocator
MallocAllocator