pidgin: c22962fc: Using named elements in a struct initial...
datallah at pidgin.im
datallah at pidgin.im
Sun May 11 22:35:55 EDT 2008
-----------------------------------------------------------------
Revision: c22962fce1042f2b22830d85f9cdcb45a5a570ec
Ancestor: 62b4b8f4126f77be030b14f32eb7cc403f63169e
Author: datallah at pidgin.im
Date: 2008-05-12T02:21:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c22962fce1042f2b22830d85f9cdcb45a5a570ec
Modified files:
libpurple/protocols/jabber/parser.c
ChangeLog:
Using named elements in a struct initialization doesn't work in MSVC.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/parser.c 6cecb079972daf216504b3dce358ca781c92c3d9
+++ libpurple/protocols/jabber/parser.c 9ab56d28740cacf167e31733831b10a7e92a41c3
@@ -133,38 +133,38 @@ static xmlSAXHandler jabber_parser_libxm
}
static xmlSAXHandler jabber_parser_libxml = {
- .internalSubset = NULL,
- .isStandalone = NULL,
- .hasInternalSubset = NULL,
- .hasExternalSubset = NULL,
- .resolveEntity = NULL,
- .getEntity = NULL,
- .entityDecl = NULL,
- .notationDecl = NULL,
- .attributeDecl = NULL,
- .elementDecl = NULL,
- .unparsedEntityDecl = NULL,
- .setDocumentLocator = NULL,
- .startDocument = NULL,
- .endDocument = NULL,
- .startElement = NULL,
- .endElement = NULL,
- .reference = NULL,
- .characters = jabber_parser_element_text_libxml,
- .ignorableWhitespace = NULL,
- .processingInstruction = NULL,
- .comment = NULL,
- .warning = NULL,
- .error = NULL,
- .fatalError = NULL,
- .getParameterEntity = NULL,
- .cdataBlock = NULL,
- .externalSubset = NULL,
- .initialized = XML_SAX2_MAGIC,
- ._private = NULL,
- .startElementNs = jabber_parser_element_start_libxml,
- .endElementNs = jabber_parser_element_end_libxml,
- .serror = NULL
+ NULL, /*internalSubset*/
+ NULL, /*isStandalone*/
+ NULL, /*hasInternalSubset*/
+ NULL, /*hasExternalSubset*/
+ NULL, /*resolveEntity*/
+ NULL, /*getEntity*/
+ NULL, /*entityDecl*/
+ NULL, /*notationDecl*/
+ NULL, /*attributeDecl*/
+ NULL, /*elementDecl*/
+ NULL, /*unparsedEntityDecl*/
+ NULL, /*setDocumentLocator*/
+ NULL, /*startDocument*/
+ NULL, /*endDocument*/
+ NULL, /*startElement*/
+ NULL, /*endElement*/
+ NULL, /*reference*/
+ jabber_parser_element_text_libxml, /*characters*/
+ NULL, /*ignorableWhitespace*/
+ NULL, /*processingInstruction*/
+ NULL, /*comment*/
+ NULL, /*warning*/
+ NULL, /*error*/
+ NULL, /*fatalError*/
+ NULL, /*getParameterEntity*/
+ NULL, /*cdataBlock*/
+ NULL, /*externalSubset*/
+ XML_SAX2_MAGIC, /*initialized*/
+ NULL, /*_private*/
+ jabber_parser_element_start_libxml, /*startElementNs*/
+ jabber_parser_element_end_libxml, /*endElementNs*/
+ NULL /*serror*/
};
void
More information about the Commits
mailing list