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:
David Anderson 2007-01-25 21:50:45 +00:00
parent 84d1627c6e
commit eaa989cb6b
3 changed files with 6 additions and 3 deletions

View File

@ -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},

View File

@ -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];

View File

@ -38,7 +38,7 @@ enum SMCError
*
* @return A new Handle to an SMC Parse structure.
*/
native Handle:SMC_CreateParse();
native Handle:SMC_CreateParser();
/**
* Parses an SMC file.