spasm.rt.memory

Undocumented in source.

Members

Functions

_d_allocmemory
void* _d_allocmemory(size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_cast_len
deprecated size_t _d_array_cast_len(size_t len, size_t elemsz, size_t newelemsz)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_cdouble
void _d_array_init_cdouble(cdouble* a, size_t n, cdouble v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_cfloat
void _d_array_init_cfloat(cfloat* a, size_t n, cfloat v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_creal
void _d_array_init_creal(creal* a, size_t n, creal v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_double
void _d_array_init_double(double* a, size_t n, double v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_float
void _d_array_init_float(float* a, size_t n, float v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_i16
void _d_array_init_i16(ushort* a, size_t n, ushort v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_i32
void _d_array_init_i32(uint* a, size_t n, uint v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_i64
void _d_array_init_i64(ulong* a, size_t n, ulong v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_mem
void _d_array_init_mem(void* a, size_t na, void* v, size_t nv)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_pointer
void _d_array_init_pointer(void** a, size_t n, void* v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_init_real
void _d_array_init_real(real* a, size_t n, real v)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_array_slice_copy
void _d_array_slice_copy(void* dst, size_t dstlen, void* src, size_t srclen, size_t elemsz)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_arraybounds
void _d_arraybounds(string file, int line)
Undocumented in source. Be warned that the author may not have intended to support it.
_d_arraycast_len
size_t _d_arraycast_len(size_t len, size_t elemsz, size_t newelemsz)
Undocumented in source. Be warned that the author may not have intended to support it.
alloc_init
void alloc_init(uint heap_base)
Undocumented in source. Be warned that the author may not have intended to support it.
memcmp
int memcmp(void* a, void* b, size_t cnt)
Undocumented in source. Be warned that the author may not have intended to support it.
memcpy
void* memcpy(void* destination, void* source, size_t num)
Undocumented in source. Be warned that the author may not have intended to support it.
memset
void* memset(void* ptr, int value, size_t num)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

wasmPageSize
enum wasmPageSize;
Undocumented in source.

Static variables

allocator
Allocator* allocator;
Undocumented in source.
allocator
auto allocator;
Undocumented in source.
unittestAllocator
Allocator unittestAllocator;
Undocumented in source.

Structs

Allocator
struct Allocator
Undocumented in source.

Templates

make
template make(T)
Undocumented in source.

Meta