spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
spasm.rt.allocator
spasm
rt
Members
Aliases
Destructor
alias
Destructor
=
void
function
(
void
*)
Undocumented in source.
WasmAllocator
alias
WasmAllocator
=
Mallocator
Undocumented in source.
Enums
MarkResult
enum
MarkResult
Undocumented in source.
Functions
alignedAt
bool
alignedAt
(T* ptr, uint alignment)
Returns
true
if
ptr
is aligned at
alignment
.
getGoodCapacity
auto
getGoodCapacity
(uint blockSize)
Undocumented in source. Be warned that the author may not have intended to support it.
initPool
auto
initPool
(size_t blockSize, size_t capacity)
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
poolAllocatorIndex
auto
poolAllocatorIndex
;
Undocumented in source.
Structs
PoolAllocator
struct
PoolAllocator
Undocumented in source.
PoolAllocatorBacking
struct
PoolAllocatorBacking
Undocumented in source.
PoolAllocatorFactory
struct
PoolAllocatorFactory
Undocumented in source.
PoolAllocatorIndex
struct
PoolAllocatorIndex
Undocumented in source.
PoolAllocatorList
struct
PoolAllocatorList
(T)
Undocumented in source.
PoolAllocatorList
struct
PoolAllocatorList
(size_t blockSize)
Undocumented in source.
WasmAllocator
struct
WasmAllocator
Undocumented in source.
WasmAllocator
struct
WasmAllocator
Undocumented in source.
Meta
Source
See Source File
spasm
rt
modules
allocator
array
gc
memory
stubs