Remove sp_context_t::plugin.
This commit is contained in:
parent
11ea385169
commit
c09c65e4c7
@ -72,7 +72,6 @@ class PluginContext;
|
|||||||
|
|
||||||
typedef struct sp_context_s
|
typedef struct sp_context_s
|
||||||
{
|
{
|
||||||
sp_plugin_t *plugin;
|
|
||||||
} sp_context_t;
|
} sp_context_t;
|
||||||
|
|
||||||
//#define SPFLAG_PLUGIN_DEBUG (1<<0)
|
//#define SPFLAG_PLUGIN_DEBUG (1<<0)
|
||||||
|
@ -61,7 +61,6 @@ PluginContext::PluginContext(PluginRuntime *pRuntime)
|
|||||||
tracker_.pBase = (ucell_t *)malloc(1024);
|
tracker_.pBase = (ucell_t *)malloc(1024);
|
||||||
tracker_.pCur = tracker_.pBase;
|
tracker_.pCur = tracker_.pBase;
|
||||||
tracker_.size = 1024 / sizeof(cell_t);
|
tracker_.size = 1024 / sizeof(cell_t);
|
||||||
m_ctx.plugin = const_cast<sp_plugin_t *>(pRuntime->plugin());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginContext::~PluginContext()
|
PluginContext::~PluginContext()
|
||||||
|
Loading…
Reference in New Issue
Block a user