spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
WasmAllocator
spasm
rt
allocator
Undocumented in source.
struct
WasmAllocator
alias
WasmAllocator
=
Mallocator
struct
WasmAllocator
version(!WebAssembly && !D_BetterC)
nothrow
struct
WasmAllocator {
enum
uint
alignment
;
static __gshared
typeof
(
this
)
instance
;
auto
owns
(void[] b);
bool
deallocate
(void[] b);
void
[]
allocate
(size_t n);
}
Members
Functions
allocate
void
[]
allocate
(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
deallocate
bool
deallocate
(void[] b)
Undocumented in source. Be warned that the author may not have intended to support it.
owns
auto
owns
(void[] b)
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
instance
typeof
(
this
)
instance
;
Undocumented in source.
Variables
alignment
enum
uint
alignment
;
Undocumented in source.
Meta
Source
See Implementation
spasm
rt
allocator
aliases
Destructor
enums
MarkResult
functions
alignedAt
getGoodCapacity
initPool
static variables
poolAllocatorIndex
structs
PoolAllocator
PoolAllocatorBacking
PoolAllocatorFactory
PoolAllocatorIndex
PoolAllocatorList
WasmAllocator