|
|
@ -190,7 +190,7 @@ d_m3ErrorConst (trapStackOverflow, "[trap] stack overflow")
|
|
|
|
M3Result m3_LoadModule (IM3Runtime io_runtime, IM3Module io_module);
|
|
|
|
M3Result m3_LoadModule (IM3Runtime io_runtime, IM3Module io_module);
|
|
|
|
// LoadModule transfers ownership of a module to the runtime. Do not free modules once successfully imported into the runtime
|
|
|
|
// LoadModule transfers ownership of a module to the runtime. Do not free modules once successfully imported into the runtime
|
|
|
|
|
|
|
|
|
|
|
|
typedef const void * (* M3RawCall) (IM3Runtime runtime, IM3ImportContext context, uint64_t * _sp, void * _mem);
|
|
|
|
typedef const void * (* M3RawCall) (IM3Runtime runtime, IM3ImportContext _ctx, uint64_t * _sp, void * _mem);
|
|
|
|
|
|
|
|
|
|
|
|
M3Result m3_LinkRawFunction (IM3Module io_module,
|
|
|
|
M3Result m3_LinkRawFunction (IM3Module io_module,
|
|
|
|
const char * const i_moduleName,
|
|
|
|
const char * const i_moduleName,
|
|
|
|