Home
last modified time | relevance | path

Searched refs:M3MemoryHeader (Results 1 – 4 of 4) sorted by relevance

/dports/devel/wasm3/wasm3-0.5.0/source/
H A Dm3_exec_defs.h15 # define m3MemData(mem) (u8*)(((M3MemoryHeader*)(mem))+1)
16 # define m3MemRuntime(mem) (((M3MemoryHeader*)(mem))->runtime)
17 # define m3MemInfo(mem) (&(((M3MemoryHeader*)(mem))->runtime->memory))
19 # define d_m3BaseOpSig pc_t _pc, m3stack_t _sp, M3MemoryHeader * _mem, m3reg_t _r0
H A Dm3_core.h132 typedef struct M3MemoryHeader struct
138 M3MemoryHeader; argument
H A Dm3_env.h30 M3MemoryHeader * mallocated;
H A Dm3_env.c374 size_t numBytes = numPageBytes + sizeof (M3MemoryHeader); in ResizeMemory()
378 numPreviousBytes += sizeof (M3MemoryHeader); in ResizeMemory()
383 memory->mallocated = (M3MemoryHeader*)newMem; in ResizeMemory()
386 M3MemoryHeader * oldMallocated = memory->mallocated; in ResizeMemory()