static void process_bijiben_node (BijiLazyDeserializer *self) { int type; const xmlChar *name ; BijiLazyDeserializerPrivate *priv = self->priv; type = xmlTextReaderNodeType (priv->inner); name = xmlTextReaderConstName (priv->inner); if (name == NULL) name = BAD_CAST "(NULL)"; switch (type) { case XML_ELEMENT_NODE: process_bijiben_start_elem (self); break; case XML_ELEMENT_DECL: process_bijiben_end_elem (self); break; case XML_TEXT_NODE: case XML_DTD_NODE: process_bijiben_text_elem (self); break; } }
static void process_bijiben_node (BijiLazyDeserializer *self) { int type; const xmlChar *name ; BijiLazyDeserializerPrivate *priv = self->priv; type = xmlTextReaderNodeType (priv->inner); name = xmlTextReaderConstName (priv->inner); if (name == NULL) name = BAD_CAST "(NULL)"; switch (type) { case XML_READER_TYPE_ELEMENT: process_bijiben_start_elem (self); break; case XML_READER_TYPE_TEXT: process_bijiben_text_elem (self); break; default: /* Ignore other node types (and ignore gcc warnings */ ; } }