Beispiel #1
0
static void endElement(void *userData, const char *name)
{
	XMLParserCallback* pCallback = (XMLParserCallback*) userData;
	if( pCallback ) pCallback->EndElement( name );
}
Beispiel #2
0
static void endElement(void *userData, const char *name) {
    XMLParserCallback* pCallback =
        reinterpret_cast<XMLParserCallback*>(userData);
    if (pCallback) pCallback->EndElement(name);
}