Change GetErrorCode return type to enum XML_ErrorCode.

This commit is contained in:
James Clark 1998-06-03 09:24:43 +00:00
parent 650ce08322
commit 03f202d614
2 changed files with 2 additions and 2 deletions

View file

@ -599,7 +599,7 @@ void *XML_GetBuffer(XML_Parser parser, int len)
return bufferEnd;
}
int XML_GetErrorCode(XML_Parser parser)
enum XML_Error XML_GetErrorCode(XML_Parser parser)
{
return errorCode;
}

View file

@ -305,7 +305,7 @@ long XMLPARSEAPI XML_GetCurrentByteIndex(XML_Parser parser);
/* If XML_Parser or XML_ParseEnd have returned 0, then XML_GetErrorCode
returns information about the error. */
int XMLPARSEAPI XML_GetErrorCode(XML_Parser parser);
enum XML_Error XMLPARSEAPI XML_GetErrorCode(XML_Parser parser);
void XMLPARSEAPI
XML_ParserFree(XML_Parser parser);