fixed a build error
renamed SMC_CreateParse to SMC_CreateParser --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40369
This commit is contained in:
@@ -142,7 +142,7 @@ public:
|
||||
|
||||
TextParseGlobals g_TextParseGlobals;
|
||||
|
||||
static cell_t SMC_CreateParse(IPluginContext *pContext, const cell_t *params)
|
||||
static cell_t SMC_CreateParser(IPluginContext *pContext, const cell_t *params)
|
||||
{
|
||||
ParseInfo *pInfo = new ParseInfo();
|
||||
|
||||
@@ -274,7 +274,7 @@ static cell_t SMC_GetErrorString(IPluginContext *pContext, const cell_t *params)
|
||||
|
||||
REGISTER_NATIVES(textNatives)
|
||||
{
|
||||
{"SMC_CreateParse", SMC_CreateParse},
|
||||
{"SMC_CreateParser", SMC_CreateParser},
|
||||
{"SMC_ParseFile", SMC_ParseFile},
|
||||
{"SMC_GetErrorString", SMC_GetErrorString},
|
||||
{"SMC_SetParseStart", SMC_SetParseStart},
|
||||
|
||||
@@ -695,6 +695,9 @@ void HandleSystem::ReleasePrimHandle(unsigned int index)
|
||||
{
|
||||
/* Extra work to do. We need to find everything connected to this identity and release it. */
|
||||
unsigned int ch_index;
|
||||
#if defined _DEBUG
|
||||
unsigned int old_index = 0;
|
||||
#endif
|
||||
while ((ch_index = pHandle->ch_next) != 0)
|
||||
{
|
||||
pLocal = &m_Handles[ch_index];
|
||||
|
||||
Reference in New Issue
Block a user