| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Summary: internal interfaces for XML Path Language implementation | 2 * Summary: internal interfaces for XML Path Language implementation |
| 3 * Description: internal interfaces for XML Path Language implementation | 3 * Description: internal interfaces for XML Path Language implementation |
| 4 * used to build new modules on top of XPath like XPointer and | 4 * used to build new modules on top of XPath like XPointer and |
| 5 * XSLT | 5 * XSLT |
| 6 * | 6 * |
| 7 * Copy: See Copyright for the status of this software. | 7 * Copy: See Copyright for the status of this software. |
| 8 * | 8 * |
| 9 * Author: Daniel Veillard | 9 * Author: Daniel Veillard |
| 10 */ | 10 */ |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 #define xmlXPathStackIsExternal(ctxt) \ | 222 #define xmlXPathStackIsExternal(ctxt) \ |
| 223 ((ctxt->value != NULL) && (ctxt->value->type == XPATH_USERS)) | 223 ((ctxt->value != NULL) && (ctxt->value->type == XPATH_USERS)) |
| 224 | 224 |
| 225 /** | 225 /** |
| 226 * xmlXPathEmptyNodeSet: | 226 * xmlXPathEmptyNodeSet: |
| 227 * @ns: a node-set | 227 * @ns: a node-set |
| 228 * | 228 * |
| 229 * Empties a node-set. | 229 * Empties a node-set. |
| 230 */ | 230 */ |
| 231 #define xmlXPathEmptyNodeSet(ns) \ | 231 #define xmlXPathEmptyNodeSet(ns) \ |
| 232 { while ((ns)->nodeNr > 0) (ns)->nodeTab[(ns)->nodeNr--] = NULL; } | 232 { while ((ns)->nodeNr > 0) (ns)->nodeTab[--(ns)->nodeNr] = NULL; } |
| 233 | 233 |
| 234 /** | 234 /** |
| 235 * CHECK_ERROR: | 235 * CHECK_ERROR: |
| 236 * | 236 * |
| 237 * Macro to return from the function if an XPath error was detected. | 237 * Macro to return from the function if an XPath error was detected. |
| 238 */ | 238 */ |
| 239 #define CHECK_ERROR \ | 239 #define CHECK_ERROR \ |
| 240 if (ctxt->error != XPATH_EXPRESSION_OK) return | 240 if (ctxt->error != XPATH_EXPRESSION_OK) return |
| 241 | 241 |
| 242 /** | 242 /** |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 * Really internal functions | 623 * Really internal functions |
| 624 */ | 624 */ |
| 625 XMLPUBFUN void XMLCALL xmlXPathNodeSetFreeNs(xmlNsPtr ns); | 625 XMLPUBFUN void XMLCALL xmlXPathNodeSetFreeNs(xmlNsPtr ns); |
| 626 | 626 |
| 627 #ifdef __cplusplus | 627 #ifdef __cplusplus |
| 628 } | 628 } |
| 629 #endif | 629 #endif |
| 630 | 630 |
| 631 #endif /* LIBXML_XPATH_ENABLED */ | 631 #endif /* LIBXML_XPATH_ENABLED */ |
| 632 #endif /* ! __XML_XPATH_INTERNALS_H__ */ | 632 #endif /* ! __XML_XPATH_INTERNALS_H__ */ |
| OLD | NEW |