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

Side by Side Diff: third_party/libxslt/libexslt/sets.c

Issue 661058: libxslt update (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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
« no previous file with comments | « third_party/libxslt/libexslt/math.c ('k') | third_party/libxslt/libexslt/strings.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #define IN_LIBEXSLT 1 #define IN_LIBEXSLT
2 #include "libexslt/libexslt.h" 2 #include "libexslt/libexslt.h"
3 3
4 #if defined(WIN32) && !defined (__CYGWIN__) && (!__MINGW32__) 4 #if defined(WIN32) && !defined (__CYGWIN__) && (!__MINGW32__)
5 #include <win32config.h> 5 #include <win32config.h>
6 #else 6 #else
7 #include "config.h" 7 #include "config.h"
8 #endif 8 #endif
9 9
10 #include <libxml/tree.h> 10 #include <libxml/tree.h>
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 xsltRegisterExtModuleFunction ((const xmlChar *) "has-same-node", 283 xsltRegisterExtModuleFunction ((const xmlChar *) "has-same-node",
284 EXSLT_SETS_NAMESPACE, 284 EXSLT_SETS_NAMESPACE,
285 exsltSetsHasSameNodesFunction); 285 exsltSetsHasSameNodesFunction);
286 xsltRegisterExtModuleFunction ((const xmlChar *) "leading", 286 xsltRegisterExtModuleFunction ((const xmlChar *) "leading",
287 EXSLT_SETS_NAMESPACE, 287 EXSLT_SETS_NAMESPACE,
288 exsltSetsLeadingFunction); 288 exsltSetsLeadingFunction);
289 xsltRegisterExtModuleFunction ((const xmlChar *) "trailing", 289 xsltRegisterExtModuleFunction ((const xmlChar *) "trailing",
290 EXSLT_SETS_NAMESPACE, 290 EXSLT_SETS_NAMESPACE,
291 exsltSetsTrailingFunction); 291 exsltSetsTrailingFunction);
292 } 292 }
293
294 /**
295 * exsltSetsXpathCtxtRegister:
296 *
297 * Registers the EXSLT - Sets module for use outside XSLT
298 */
299 int
300 exsltSetsXpathCtxtRegister (xmlXPathContextPtr ctxt, const xmlChar *prefix)
301 {
302 if (ctxt
303 && prefix
304 && !xmlXPathRegisterNs(ctxt,
305 prefix,
306 (const xmlChar *) EXSLT_SETS_NAMESPACE)
307 && !xmlXPathRegisterFuncNS(ctxt,
308 (const xmlChar *) "difference",
309 (const xmlChar *) EXSLT_SETS_NAMESPACE,
310 exsltSetsDifferenceFunction)
311 && !xmlXPathRegisterFuncNS(ctxt,
312 (const xmlChar *) "intersection",
313 (const xmlChar *) EXSLT_SETS_NAMESPACE,
314 exsltSetsIntersectionFunction)
315 && !xmlXPathRegisterFuncNS(ctxt,
316 (const xmlChar *) "distinct",
317 (const xmlChar *) EXSLT_SETS_NAMESPACE,
318 exsltSetsDistinctFunction)
319 && !xmlXPathRegisterFuncNS(ctxt,
320 (const xmlChar *) "has-same-node",
321 (const xmlChar *) EXSLT_SETS_NAMESPACE,
322 exsltSetsHasSameNodesFunction)
323 && !xmlXPathRegisterFuncNS(ctxt,
324 (const xmlChar *) "leading",
325 (const xmlChar *) EXSLT_SETS_NAMESPACE,
326 exsltSetsLeadingFunction)
327 && !xmlXPathRegisterFuncNS(ctxt,
328 (const xmlChar *) "trailing",
329 (const xmlChar *) EXSLT_SETS_NAMESPACE,
330 exsltSetsTrailingFunction)) {
331 return 0;
332 }
333 return -1;
334 }
OLDNEW
« no previous file with comments | « third_party/libxslt/libexslt/math.c ('k') | third_party/libxslt/libexslt/strings.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698