dynamic native providers can now be unloaded safely
fixed an api naming typo :( --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40611
This commit is contained in:
@@ -2229,7 +2229,7 @@ rewind:
|
||||
return (SPVM_NATIVE_FUNC)jw.outbase;
|
||||
}
|
||||
|
||||
void JITX86::DestroyFakenative(SPVM_NATIVE_FUNC func)
|
||||
void JITX86::DestroyFakeNative(SPVM_NATIVE_FUNC func)
|
||||
{
|
||||
engine->ExecFree((void *)func);
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ public:
|
||||
const char *GetVersionString();
|
||||
const char *GetCPUOptimizations();
|
||||
SPVM_NATIVE_FUNC CreateFakeNative(SPVM_FAKENATIVE_FUNC callback, void *pData);
|
||||
void DestroyFakenative(SPVM_NATIVE_FUNC func);
|
||||
void DestroyFakeNative(SPVM_NATIVE_FUNC func);
|
||||
};
|
||||
|
||||
cell_t NativeCallback(sp_context_t *ctx, ucell_t native_idx, cell_t *params);
|
||||
|
||||
Reference in New Issue
Block a user