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:
parent
84d1627c6e
commit
eaa989cb6b
@ -142,7 +142,7 @@ public:
|
|||||||
|
|
||||||
TextParseGlobals g_TextParseGlobals;
|
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();
|
ParseInfo *pInfo = new ParseInfo();
|
||||||
|
|
||||||
@ -274,7 +274,7 @@ static cell_t SMC_GetErrorString(IPluginContext *pContext, const cell_t *params)
|
|||||||
|
|
||||||
REGISTER_NATIVES(textNatives)
|
REGISTER_NATIVES(textNatives)
|
||||||
{
|
{
|
||||||
{"SMC_CreateParse", SMC_CreateParse},
|
{"SMC_CreateParser", SMC_CreateParser},
|
||||||
{"SMC_ParseFile", SMC_ParseFile},
|
{"SMC_ParseFile", SMC_ParseFile},
|
||||||
{"SMC_GetErrorString", SMC_GetErrorString},
|
{"SMC_GetErrorString", SMC_GetErrorString},
|
||||||
{"SMC_SetParseStart", SMC_SetParseStart},
|
{"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. */
|
/* Extra work to do. We need to find everything connected to this identity and release it. */
|
||||||
unsigned int ch_index;
|
unsigned int ch_index;
|
||||||
|
#if defined _DEBUG
|
||||||
|
unsigned int old_index = 0;
|
||||||
|
#endif
|
||||||
while ((ch_index = pHandle->ch_next) != 0)
|
while ((ch_index = pHandle->ch_next) != 0)
|
||||||
{
|
{
|
||||||
pLocal = &m_Handles[ch_index];
|
pLocal = &m_Handles[ch_index];
|
||||||
|
@ -38,7 +38,7 @@ enum SMCError
|
|||||||
*
|
*
|
||||||
* @return A new Handle to an SMC Parse structure.
|
* @return A new Handle to an SMC Parse structure.
|
||||||
*/
|
*/
|
||||||
native Handle:SMC_CreateParse();
|
native Handle:SMC_CreateParser();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses an SMC file.
|
* Parses an SMC file.
|
||||||
|
Loading…
Reference in New Issue
Block a user