Пример #1
0
static void startElement(void *userData, const char *name, const char **atts)
{
	XMLParserCallback* pCallback = (XMLParserCallback*) userData;
	if( pCallback ) pCallback->StartElement( name, atts );
}
Пример #2
0
static void startElement(void *userData, const char *name, const char **atts) {
    XMLParserCallback* pCallback =
        reinterpret_cast<XMLParserCallback*>(userData);
    if (pCallback) pCallback->StartElement(name, atts);
}