[Expat-checkins] expat/lib xmlparse.c,1.124,1.125
Karl Waclawek
kwaclaw at users.sourceforge.net
Mon Mar 15 22:53:26 EST 2004
Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19673
Modified Files:
xmlparse.c
Log Message:
Changed signature of XML_GetParsingStatus(), changing the return value
to a parameter passed by reference (pointer). It seems that the processing
of return values is not standardized, even when calling convention and
platform are specified. This should make Expat more usable as a shared library.
Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- xmlparse.c 15 Mar 2004 00:34:12 -0000 1.124
+++ xmlparse.c 16 Mar 2004 03:53:24 -0000 1.125
@@ -1716,10 +1716,10 @@
return result;
}
-XML_ParsingStatus XMLCALL
-XML_GetParsingStatus(XML_Parser parser)
+void XMLCALL
+XML_GetParsingStatus(XML_Parser parser, XML_ParsingStatus *status)
{
- return parser->m_parsingStatus;
+ *status = parser->m_parsingStatus;
}
enum XML_Error XMLCALL
More information about the Expat-checkins
mailing list