initial import of plugin loading code

little fixes to API
temporarily commented dependency iface until final

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40177
This commit is contained in:
David Anderson
2006-11-10 07:49:38 +00:00
parent ace0d842e5
commit ac761f61ce
6 changed files with 37 additions and 26 deletions
-5
View File
@@ -56,11 +56,6 @@ IPluginContext *SourcePawnEngine::CreateBaseContext(sp_context_t *ctx)
void SourcePawnEngine::FreeBaseContext(IPluginContext *ctx)
{
sp_context_t *_ctx = ctx->GetContext();
IVirtualMachine *vm = ctx->GetVirtualMachine();
vm->FreeContext(_ctx);
delete ctx;
}