Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: third_party/libxml/src/include/libxml/xpathInternals.h

Issue 1994003003: Roll libxml to 8effcb578e0590cc01bbcab0f9dccefc6bdbcdbd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update README.chromium with patches we have rolled over. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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__ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698