Disable m3_CallMain (not functional anyway)

extensions
Volodymyr Shymanskyy 5 years ago
parent 27eb97240d
commit fff3312c4c

@ -277,7 +277,7 @@ typedef int64_t (* M3Callback) (IM3Function i_currentFunction, void * i_ref);
M3Result m3_Call (IM3Function i_function);
M3Result m3_CallWithArgs (IM3Function i_function, uint32_t i_argc, const char * const * i_argv);
M3Result m3_CallMain (IM3Function i_function, uint32_t i_argc, const char * const * i_argv);
// M3Result m3_CallMain (IM3Function i_function, uint32_t i_argc, const char * const * i_argv);
// void * /* return */ m3_Call (IM3Function i_function, M3Result * o_result);

@ -630,7 +630,7 @@ _ ((M3Result)Call (i_function->compiled, stack, linearMemory, d_m3OpDefaul
_catch: return result;
}
#if 0
M3Result m3_CallMain (IM3Function i_function, uint32_t i_argc, const char * const * i_argv)
{
M3Result result = c_m3Err_none;
@ -685,7 +685,7 @@ _ ((M3Result)Call (i_function->compiled, stack, linearMemory, d_m3OpDefaul
_catch: return result;
}
#endif
IM3CodePage AcquireCodePage (IM3Runtime i_runtime)
{

Loading…
Cancel
Save