nokolexbor 0.2.5 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/ext/nokolexbor/CMakeLists.txt +7 -4
  3. data/ext/nokolexbor/config.h.cmake.in +2 -0
  4. data/ext/nokolexbor/extconf.rb +47 -25
  5. data/ext/nokolexbor/libxml/SAX2.h +4 -4
  6. data/ext/nokolexbor/libxml/chvalid.h +21 -21
  7. data/ext/nokolexbor/libxml/dict.h +13 -13
  8. data/ext/nokolexbor/libxml/globals.h +202 -202
  9. data/ext/nokolexbor/libxml/hash.h +25 -25
  10. data/ext/nokolexbor/libxml/parser.h +5 -5
  11. data/ext/nokolexbor/libxml/parserInternals.h +4 -4
  12. data/ext/nokolexbor/libxml/pattern.h +14 -14
  13. data/ext/nokolexbor/libxml/threads.h +15 -15
  14. data/ext/nokolexbor/libxml/tree.h +5 -5
  15. data/ext/nokolexbor/libxml/xmlerror.h +5 -5
  16. data/ext/nokolexbor/libxml/xmlmemory.h +16 -16
  17. data/ext/nokolexbor/libxml/xmlstring.h +30 -30
  18. data/ext/nokolexbor/libxml/xpath.h +43 -43
  19. data/ext/nokolexbor/libxml/xpathInternals.h +128 -128
  20. data/ext/nokolexbor/memory.c +6 -6
  21. data/ext/nokolexbor/nl_cdata.c +44 -0
  22. data/ext/nokolexbor/nl_comment.c +44 -0
  23. data/ext/nokolexbor/nl_document.c +23 -9
  24. data/ext/nokolexbor/nl_node.c +191 -178
  25. data/ext/nokolexbor/nl_node_set.c +38 -73
  26. data/ext/nokolexbor/nl_text.c +44 -0
  27. data/ext/nokolexbor/nl_xpath_context.c +33 -42
  28. data/ext/nokolexbor/nokolexbor.c +7 -3
  29. data/ext/nokolexbor/nokolexbor.h +9 -7
  30. data/ext/nokolexbor/private/buf.h +1 -1
  31. data/ext/nokolexbor/private/error.h +3 -3
  32. data/ext/nokolexbor/xml_SAX2.c +8 -8
  33. data/ext/nokolexbor/xml_buf.c +19 -19
  34. data/ext/nokolexbor/xml_chvalid.c +25 -25
  35. data/ext/nokolexbor/xml_dict.c +69 -69
  36. data/ext/nokolexbor/xml_encoding.c +2 -2
  37. data/ext/nokolexbor/xml_error.c +51 -51
  38. data/ext/nokolexbor/xml_globals.c +329 -329
  39. data/ext/nokolexbor/xml_hash.c +131 -131
  40. data/ext/nokolexbor/xml_memory.c +25 -25
  41. data/ext/nokolexbor/xml_parser.c +3 -3
  42. data/ext/nokolexbor/xml_parserInternals.c +15 -15
  43. data/ext/nokolexbor/xml_pattern.c +103 -103
  44. data/ext/nokolexbor/xml_string.c +93 -93
  45. data/ext/nokolexbor/xml_threads.c +61 -61
  46. data/ext/nokolexbor/xml_tree.c +12 -12
  47. data/ext/nokolexbor/xml_xpath.c +1194 -1203
  48. data/lib/nokolexbor/document.rb +92 -1
  49. data/lib/nokolexbor/node.rb +64 -0
  50. data/lib/nokolexbor/node_set.rb +6 -5
  51. data/lib/nokolexbor/version.rb +1 -1
  52. data/lib/nokolexbor.rb +21 -1
  53. data/patches/0001-lexbor-support-text-pseudo-element.patch +1 -1
  54. metadata +7 -4
@@ -25,9 +25,9 @@ extern "C" {
25
25
  #endif
26
26
 
27
27
  XML_DEPRECATED
28
- XMLPUBFUN void XMLCALL xmlInitGlobals(void);
28
+ XMLPUBFUN void XMLCALL nl_xmlInitGlobals(void);
29
29
  XML_DEPRECATED
30
- XMLPUBFUN void XMLCALL xmlCleanupGlobals(void);
30
+ XMLPUBFUN void XMLCALL nl_xmlCleanupGlobals(void);
31
31
 
32
32
  /**
33
33
  * xmlParserInputBufferCreateFilenameFunc:
@@ -70,37 +70,37 @@ XMLCALL xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc
70
70
  */
71
71
 
72
72
  #undef htmlDefaultSAXHandler
73
- #undef oldXMLWDcompatibility
74
- #undef xmlBufferAllocScheme
75
- #undef xmlDefaultBufferSize
73
+ #undef nl_oldXMLWDcompatibility
74
+ #undef nl_xmlBufferAllocScheme
75
+ #undef nl_xmlDefaultBufferSize
76
76
  #undef xmlDefaultSAXHandler
77
- #undef xmlDefaultSAXLocator
78
- #undef xmlDoValidityCheckingDefaultValue
79
- #undef xmlFree
80
- #undef xmlGenericError
81
- #undef xmlStructuredError
82
- #undef xmlGenericErrorContext
83
- #undef xmlStructuredErrorContext
84
- #undef xmlGetWarningsDefaultValue
85
- #undef xmlIndentTreeOutput
86
- #undef xmlTreeIndentString
87
- #undef xmlKeepBlanksDefaultValue
88
- #undef xmlLineNumbersDefaultValue
89
- #undef xmlLoadExtDtdDefaultValue
90
- #undef xmlMalloc
91
- #undef xmlMallocAtomic
92
- #undef xmlMemStrdup
93
- #undef xmlParserDebugEntities
94
- #undef xmlParserVersion
95
- #undef xmlPedanticParserDefaultValue
96
- #undef xmlRealloc
97
- #undef xmlSaveNoEmptyTags
98
- #undef xmlSubstituteEntitiesDefaultValue
99
- #undef xmlRegisterNodeDefaultValue
100
- #undef xmlDeregisterNodeDefaultValue
101
- #undef xmlLastError
102
- #undef xmlParserInputBufferCreateFilenameValue
103
- #undef xmlOutputBufferCreateFilenameValue
77
+ #undef nl_xmlDefaultSAXLocator
78
+ #undef nl_xmlDoValidityCheckingDefaultValue
79
+ #undef nl_xmlFree
80
+ #undef nl_xmlGenericError
81
+ #undef nl_xmlStructuredError
82
+ #undef nl_xmlGenericErrorContext
83
+ #undef nl_xmlStructuredErrorContext
84
+ #undef nl_xmlGetWarningsDefaultValue
85
+ #undef nl_xmlIndentTreeOutput
86
+ #undef nl_xmlTreeIndentString
87
+ #undef nl_xmlKeepBlanksDefaultValue
88
+ #undef nl_xmlLineNumbersDefaultValue
89
+ #undef nl_xmlLoadExtDtdDefaultValue
90
+ #undef nl_xmlMalloc
91
+ #undef nl_xmlMallocAtomic
92
+ #undef nl_xmlMemStrdup
93
+ #undef nl_xmlParserDebugEntities
94
+ #undef nl_xmlParserVersion
95
+ #undef nl_xmlPedanticParserDefaultValue
96
+ #undef nl_xmlRealloc
97
+ #undef nl_xmlSaveNoEmptyTags
98
+ #undef nl_xmlSubstituteEntitiesDefaultValue
99
+ #undef nl_xmlRegisterNodeDefaultValue
100
+ #undef nl_xmlDeregisterNodeDefaultValue
101
+ #undef nl_xmlLastError
102
+ #undef nl_xmlParserInputBufferCreateFilenameValue
103
+ #undef nl_xmlOutputBufferCreateFilenameValue
104
104
 
105
105
  /**
106
106
  * xmlRegisterNodeFunc:
@@ -121,50 +121,50 @@ typedef struct _xmlGlobalState xmlGlobalState;
121
121
  typedef xmlGlobalState *xmlGlobalStatePtr;
122
122
  struct _xmlGlobalState
123
123
  {
124
- const char *xmlParserVersion;
124
+ const char *nl_xmlParserVersion;
125
125
 
126
- xmlSAXLocator xmlDefaultSAXLocator;
126
+ xmlSAXLocator nl_xmlDefaultSAXLocator;
127
127
  xmlSAXHandlerV1 xmlDefaultSAXHandler;
128
128
  xmlSAXHandlerV1 docbDefaultSAXHandler; /* unused */
129
129
  xmlSAXHandlerV1 htmlDefaultSAXHandler;
130
130
 
131
- xmlFreeFunc xmlFree;
132
- xmlMallocFunc xmlMalloc;
133
- xmlStrdupFunc xmlMemStrdup;
134
- xmlReallocFunc xmlRealloc;
131
+ xmlFreeFunc nl_xmlFree;
132
+ xmlMallocFunc nl_xmlMalloc;
133
+ xmlStrdupFunc nl_xmlMemStrdup;
134
+ xmlReallocFunc nl_xmlRealloc;
135
135
 
136
- xmlGenericErrorFunc xmlGenericError;
137
- xmlStructuredErrorFunc xmlStructuredError;
138
- void *xmlGenericErrorContext;
136
+ xmlGenericErrorFunc nl_xmlGenericError;
137
+ xmlStructuredErrorFunc nl_xmlStructuredError;
138
+ void *nl_xmlGenericErrorContext;
139
139
 
140
- int oldXMLWDcompatibility;
140
+ int nl_oldXMLWDcompatibility;
141
141
 
142
- xmlBufferAllocationScheme xmlBufferAllocScheme;
143
- int xmlDefaultBufferSize;
142
+ xmlBufferAllocationScheme nl_xmlBufferAllocScheme;
143
+ int nl_xmlDefaultBufferSize;
144
144
 
145
- int xmlSubstituteEntitiesDefaultValue;
146
- int xmlDoValidityCheckingDefaultValue;
147
- int xmlGetWarningsDefaultValue;
148
- int xmlKeepBlanksDefaultValue;
149
- int xmlLineNumbersDefaultValue;
150
- int xmlLoadExtDtdDefaultValue;
151
- int xmlParserDebugEntities;
152
- int xmlPedanticParserDefaultValue;
145
+ int nl_xmlSubstituteEntitiesDefaultValue;
146
+ int nl_xmlDoValidityCheckingDefaultValue;
147
+ int nl_xmlGetWarningsDefaultValue;
148
+ int nl_xmlKeepBlanksDefaultValue;
149
+ int nl_xmlLineNumbersDefaultValue;
150
+ int nl_xmlLoadExtDtdDefaultValue;
151
+ int nl_xmlParserDebugEntities;
152
+ int nl_xmlPedanticParserDefaultValue;
153
153
 
154
- int xmlSaveNoEmptyTags;
155
- int xmlIndentTreeOutput;
156
- const char *xmlTreeIndentString;
154
+ int nl_xmlSaveNoEmptyTags;
155
+ int nl_xmlIndentTreeOutput;
156
+ const char *nl_xmlTreeIndentString;
157
157
 
158
- xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
159
- xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
158
+ xmlRegisterNodeFunc nl_xmlRegisterNodeDefaultValue;
159
+ xmlDeregisterNodeFunc nl_xmlDeregisterNodeDefaultValue;
160
160
 
161
- xmlMallocFunc xmlMallocAtomic;
162
- xmlError xmlLastError;
161
+ xmlMallocFunc nl_xmlMallocAtomic;
162
+ xmlError nl_xmlLastError;
163
163
 
164
- xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue;
165
- xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue;
164
+ xmlParserInputBufferCreateFilenameFunc nl_xmlParserInputBufferCreateFilenameValue;
165
+ xmlOutputBufferCreateFilenameFunc nl_xmlOutputBufferCreateFilenameValue;
166
166
 
167
- void *xmlStructuredErrorContext;
167
+ void *nl_xmlStructuredErrorContext;
168
168
  };
169
169
 
170
170
  #ifdef __cplusplus
@@ -175,16 +175,16 @@ struct _xmlGlobalState
175
175
  extern "C" {
176
176
  #endif
177
177
 
178
- XMLPUBFUN void XMLCALL xmlInitializeGlobalState(xmlGlobalStatePtr gs);
178
+ XMLPUBFUN void XMLCALL nl_xmlInitializeGlobalState(xmlGlobalStatePtr gs);
179
179
 
180
- XMLPUBFUN void XMLCALL xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
180
+ XMLPUBFUN void XMLCALL nl_xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
181
181
 
182
- XMLPUBFUN void XMLCALL xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler);
182
+ XMLPUBFUN void XMLCALL nl_xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler);
183
183
 
184
- XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlRegisterNodeDefault(xmlRegisterNodeFunc func);
185
- XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func);
186
- XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
187
- XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
184
+ XMLPUBFUN xmlRegisterNodeFunc XMLCALL nl_xmlRegisterNodeDefault(xmlRegisterNodeFunc func);
185
+ XMLPUBFUN xmlRegisterNodeFunc XMLCALL nl_xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func);
186
+ XMLPUBFUN xmlDeregisterNodeFunc XMLCALL nl_xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
187
+ XMLPUBFUN xmlDeregisterNodeFunc XMLCALL nl_xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
188
188
 
189
189
  XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL
190
190
  xmlThrDefOutputBufferCreateFilenameDefault(xmlOutputBufferCreateFilenameFunc func);
@@ -195,11 +195,11 @@ XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
195
195
  /*
196
196
  * In general the memory allocation entry points are not kept
197
197
  * thread specific but this can be overridden by LIBXML_THREAD_ALLOC_ENABLED
198
- * - xmlMalloc
199
- * - xmlMallocAtomic
200
- * - xmlRealloc
201
- * - xmlMemStrdup
202
- * - xmlFree
198
+ * - nl_xmlMalloc
199
+ * - nl_xmlMallocAtomic
200
+ * - nl_xmlRealloc
201
+ * - nl_xmlMemStrdup
202
+ * - nl_xmlFree
203
203
  */
204
204
 
205
205
  #ifdef LIBXML_THREAD_ALLOC_ENABLED
@@ -207,51 +207,51 @@ XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
207
207
 
208
208
  #ifdef LIBXML_THREAD_ENABLED
209
209
  XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMalloc(void);
210
- #define xmlMalloc \
210
+ #define nl_xmlMalloc \
211
211
  (*(__xmlMalloc()))
212
212
  #else
213
- XMLPUBVAR xmlMallocFunc xmlMalloc;
213
+ XMLPUBVAR xmlMallocFunc nl_xmlMalloc;
214
214
  #endif
215
215
 
216
216
  #ifdef LIBXML_THREAD_ENABLED
217
217
  XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMallocAtomic(void);
218
- #define xmlMallocAtomic \
218
+ #define nl_xmlMallocAtomic \
219
219
  (*(__xmlMallocAtomic()))
220
220
  #else
221
- XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
221
+ XMLPUBVAR xmlMallocFunc nl_xmlMallocAtomic;
222
222
  #endif
223
223
 
224
224
  #ifdef LIBXML_THREAD_ENABLED
225
225
  XMLPUBFUN xmlReallocFunc * XMLCALL __xmlRealloc(void);
226
- #define xmlRealloc \
226
+ #define nl_xmlRealloc \
227
227
  (*(__xmlRealloc()))
228
228
  #else
229
- XMLPUBVAR xmlReallocFunc xmlRealloc;
229
+ XMLPUBVAR xmlReallocFunc nl_xmlRealloc;
230
230
  #endif
231
231
 
232
232
  #ifdef LIBXML_THREAD_ENABLED
233
233
  XMLPUBFUN xmlFreeFunc * XMLCALL __xmlFree(void);
234
- #define xmlFree \
234
+ #define nl_xmlFree \
235
235
  (*(__xmlFree()))
236
236
  #else
237
- XMLPUBVAR xmlFreeFunc xmlFree;
237
+ XMLPUBVAR xmlFreeFunc nl_xmlFree;
238
238
  #endif
239
239
 
240
240
  #ifdef LIBXML_THREAD_ENABLED
241
241
  XMLPUBFUN xmlStrdupFunc * XMLCALL __xmlMemStrdup(void);
242
- #define xmlMemStrdup \
242
+ #define nl_xmlMemStrdup \
243
243
  (*(__xmlMemStrdup()))
244
244
  #else
245
- XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
245
+ XMLPUBVAR xmlStrdupFunc nl_xmlMemStrdup;
246
246
  #endif
247
247
 
248
248
  /** DOC_ENABLE */
249
249
  #else /* !LIBXML_THREAD_ALLOC_ENABLED */
250
- XMLPUBVAR xmlMallocFunc xmlMalloc;
251
- XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
252
- XMLPUBVAR xmlReallocFunc xmlRealloc;
253
- XMLPUBVAR xmlFreeFunc xmlFree;
254
- XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
250
+ XMLPUBVAR xmlMallocFunc nl_xmlMalloc;
251
+ XMLPUBVAR xmlMallocFunc nl_xmlMallocAtomic;
252
+ XMLPUBVAR xmlReallocFunc nl_xmlRealloc;
253
+ XMLPUBVAR xmlFreeFunc nl_xmlFree;
254
+ XMLPUBVAR xmlStrdupFunc nl_xmlMemStrdup;
255
255
  #endif /* LIBXML_THREAD_ALLOC_ENABLED */
256
256
 
257
257
  #ifdef LIBXML_HTML_ENABLED
@@ -266,12 +266,12 @@ XMLPUBVAR xmlSAXHandlerV1 htmlDefaultSAXHandler;
266
266
  #endif
267
267
  #endif
268
268
 
269
- XMLPUBFUN xmlError * XMLCALL __xmlLastError(void);
269
+ XMLPUBFUN xmlError * XMLCALL __nl_xmlLastError(void);
270
270
  #ifdef LIBXML_THREAD_ENABLED
271
- #define xmlLastError \
272
- (*(__xmlLastError()))
271
+ #define nl_xmlLastError \
272
+ (*(__nl_xmlLastError()))
273
273
  #else
274
- XMLPUBVAR xmlError xmlLastError;
274
+ XMLPUBVAR xmlError nl_xmlLastError;
275
275
  #endif
276
276
 
277
277
  /*
@@ -282,39 +282,39 @@ XMLPUBVAR xmlError xmlLastError;
282
282
 
283
283
 
284
284
  XML_DEPRECATED
285
- XMLPUBFUN int * XMLCALL __oldXMLWDcompatibility(void);
285
+ XMLPUBFUN int * XMLCALL __nl_oldXMLWDcompatibility(void);
286
286
  #ifdef LIBXML_THREAD_ENABLED
287
- #define oldXMLWDcompatibility \
288
- (*(__oldXMLWDcompatibility()))
287
+ #define nl_oldXMLWDcompatibility \
288
+ (*(__nl_oldXMLWDcompatibility()))
289
289
  #else
290
290
  XML_DEPRECATED
291
- XMLPUBVAR int oldXMLWDcompatibility;
291
+ XMLPUBVAR int nl_oldXMLWDcompatibility;
292
292
  #endif
293
293
 
294
294
  XML_DEPRECATED
295
- XMLPUBFUN xmlBufferAllocationScheme * XMLCALL __xmlBufferAllocScheme(void);
295
+ XMLPUBFUN xmlBufferAllocationScheme * XMLCALL __nl_xmlBufferAllocScheme(void);
296
296
  #ifdef LIBXML_THREAD_ENABLED
297
- #define xmlBufferAllocScheme \
298
- (*(__xmlBufferAllocScheme()))
297
+ #define nl_xmlBufferAllocScheme \
298
+ (*(__nl_xmlBufferAllocScheme()))
299
299
  #else
300
300
  XML_DEPRECATED
301
- XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme;
301
+ XMLPUBVAR xmlBufferAllocationScheme nl_xmlBufferAllocScheme;
302
302
  #endif
303
303
  XML_DEPRECATED
304
304
  XMLPUBFUN xmlBufferAllocationScheme XMLCALL
305
- xmlThrDefBufferAllocScheme(xmlBufferAllocationScheme v);
305
+ nl_xmlThrDefBufferAllocScheme(xmlBufferAllocationScheme v);
306
306
 
307
307
  XML_DEPRECATED
308
- XMLPUBFUN int * XMLCALL __xmlDefaultBufferSize(void);
308
+ XMLPUBFUN int * XMLCALL __nl_xmlDefaultBufferSize(void);
309
309
  #ifdef LIBXML_THREAD_ENABLED
310
- #define xmlDefaultBufferSize \
311
- (*(__xmlDefaultBufferSize()))
310
+ #define nl_xmlDefaultBufferSize \
311
+ (*(__nl_xmlDefaultBufferSize()))
312
312
  #else
313
313
  XML_DEPRECATED
314
- XMLPUBVAR int xmlDefaultBufferSize;
314
+ XMLPUBVAR int nl_xmlDefaultBufferSize;
315
315
  #endif
316
316
  XML_DEPRECATED
317
- XMLPUBFUN int XMLCALL xmlThrDefDefaultBufferSize(int v);
317
+ XMLPUBFUN int XMLCALL nl_xmlThrDefDefaultBufferSize(int v);
318
318
 
319
319
  XML_DEPRECATED
320
320
  XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __xmlDefaultSAXHandler(void);
@@ -327,199 +327,199 @@ XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler;
327
327
  #endif
328
328
 
329
329
  XML_DEPRECATED
330
- XMLPUBFUN xmlSAXLocator * XMLCALL __xmlDefaultSAXLocator(void);
330
+ XMLPUBFUN xmlSAXLocator * XMLCALL __nl_xmlDefaultSAXLocator(void);
331
331
  #ifdef LIBXML_THREAD_ENABLED
332
- #define xmlDefaultSAXLocator \
333
- (*(__xmlDefaultSAXLocator()))
332
+ #define nl_xmlDefaultSAXLocator \
333
+ (*(__nl_xmlDefaultSAXLocator()))
334
334
  #else
335
335
  XML_DEPRECATED
336
- XMLPUBVAR xmlSAXLocator xmlDefaultSAXLocator;
336
+ XMLPUBVAR xmlSAXLocator nl_xmlDefaultSAXLocator;
337
337
  #endif
338
338
 
339
- XMLPUBFUN int * XMLCALL __xmlDoValidityCheckingDefaultValue(void);
339
+ XMLPUBFUN int * XMLCALL __nl_xmlDoValidityCheckingDefaultValue(void);
340
340
  #ifdef LIBXML_THREAD_ENABLED
341
- #define xmlDoValidityCheckingDefaultValue \
342
- (*(__xmlDoValidityCheckingDefaultValue()))
341
+ #define nl_xmlDoValidityCheckingDefaultValue \
342
+ (*(__nl_xmlDoValidityCheckingDefaultValue()))
343
343
  #else
344
- XMLPUBVAR int xmlDoValidityCheckingDefaultValue;
344
+ XMLPUBVAR int nl_xmlDoValidityCheckingDefaultValue;
345
345
  #endif
346
- XMLPUBFUN int XMLCALL xmlThrDefDoValidityCheckingDefaultValue(int v);
346
+ XMLPUBFUN int XMLCALL nl_xmlThrDefDoValidityCheckingDefaultValue(int v);
347
347
 
348
- XMLPUBFUN xmlGenericErrorFunc * XMLCALL __xmlGenericError(void);
348
+ XMLPUBFUN xmlGenericErrorFunc * XMLCALL __nl_xmlGenericError(void);
349
349
  #ifdef LIBXML_THREAD_ENABLED
350
- #define xmlGenericError \
351
- (*(__xmlGenericError()))
350
+ #define nl_xmlGenericError \
351
+ (*(__nl_xmlGenericError()))
352
352
  #else
353
- XMLPUBVAR xmlGenericErrorFunc xmlGenericError;
353
+ XMLPUBVAR xmlGenericErrorFunc nl_xmlGenericError;
354
354
  #endif
355
355
 
356
- XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __xmlStructuredError(void);
356
+ XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __nl_xmlStructuredError(void);
357
357
  #ifdef LIBXML_THREAD_ENABLED
358
- #define xmlStructuredError \
359
- (*(__xmlStructuredError()))
358
+ #define nl_xmlStructuredError \
359
+ (*(__nl_xmlStructuredError()))
360
360
  #else
361
- XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError;
361
+ XMLPUBVAR xmlStructuredErrorFunc nl_xmlStructuredError;
362
362
  #endif
363
363
 
364
- XMLPUBFUN void * * XMLCALL __xmlGenericErrorContext(void);
364
+ XMLPUBFUN void * * XMLCALL __nl_xmlGenericErrorContext(void);
365
365
  #ifdef LIBXML_THREAD_ENABLED
366
- #define xmlGenericErrorContext \
367
- (*(__xmlGenericErrorContext()))
366
+ #define nl_xmlGenericErrorContext \
367
+ (*(__nl_xmlGenericErrorContext()))
368
368
  #else
369
- XMLPUBVAR void * xmlGenericErrorContext;
369
+ XMLPUBVAR void * nl_xmlGenericErrorContext;
370
370
  #endif
371
371
 
372
- XMLPUBFUN void * * XMLCALL __xmlStructuredErrorContext(void);
372
+ XMLPUBFUN void * * XMLCALL __nl_xmlStructuredErrorContext(void);
373
373
  #ifdef LIBXML_THREAD_ENABLED
374
- #define xmlStructuredErrorContext \
375
- (*(__xmlStructuredErrorContext()))
374
+ #define nl_xmlStructuredErrorContext \
375
+ (*(__nl_xmlStructuredErrorContext()))
376
376
  #else
377
- XMLPUBVAR void * xmlStructuredErrorContext;
377
+ XMLPUBVAR void * nl_xmlStructuredErrorContext;
378
378
  #endif
379
379
 
380
- XMLPUBFUN int * XMLCALL __xmlGetWarningsDefaultValue(void);
380
+ XMLPUBFUN int * XMLCALL __nl_xmlGetWarningsDefaultValue(void);
381
381
  #ifdef LIBXML_THREAD_ENABLED
382
- #define xmlGetWarningsDefaultValue \
383
- (*(__xmlGetWarningsDefaultValue()))
382
+ #define nl_xmlGetWarningsDefaultValue \
383
+ (*(__nl_xmlGetWarningsDefaultValue()))
384
384
  #else
385
- XMLPUBVAR int xmlGetWarningsDefaultValue;
385
+ XMLPUBVAR int nl_xmlGetWarningsDefaultValue;
386
386
  #endif
387
- XMLPUBFUN int XMLCALL xmlThrDefGetWarningsDefaultValue(int v);
387
+ XMLPUBFUN int XMLCALL nl_xmlThrDefGetWarningsDefaultValue(int v);
388
388
 
389
- XMLPUBFUN int * XMLCALL __xmlIndentTreeOutput(void);
389
+ XMLPUBFUN int * XMLCALL __nl_xmlIndentTreeOutput(void);
390
390
  #ifdef LIBXML_THREAD_ENABLED
391
- #define xmlIndentTreeOutput \
392
- (*(__xmlIndentTreeOutput()))
391
+ #define nl_xmlIndentTreeOutput \
392
+ (*(__nl_xmlIndentTreeOutput()))
393
393
  #else
394
- XMLPUBVAR int xmlIndentTreeOutput;
394
+ XMLPUBVAR int nl_xmlIndentTreeOutput;
395
395
  #endif
396
- XMLPUBFUN int XMLCALL xmlThrDefIndentTreeOutput(int v);
396
+ XMLPUBFUN int XMLCALL nl_xmlThrDefIndentTreeOutput(int v);
397
397
 
398
- XMLPUBFUN const char * * XMLCALL __xmlTreeIndentString(void);
398
+ XMLPUBFUN const char * * XMLCALL __nl_xmlTreeIndentString(void);
399
399
  #ifdef LIBXML_THREAD_ENABLED
400
- #define xmlTreeIndentString \
401
- (*(__xmlTreeIndentString()))
400
+ #define nl_xmlTreeIndentString \
401
+ (*(__nl_xmlTreeIndentString()))
402
402
  #else
403
- XMLPUBVAR const char * xmlTreeIndentString;
403
+ XMLPUBVAR const char * nl_xmlTreeIndentString;
404
404
  #endif
405
- XMLPUBFUN const char * XMLCALL xmlThrDefTreeIndentString(const char * v);
405
+ XMLPUBFUN const char * XMLCALL nl_xmlThrDefTreeIndentString(const char * v);
406
406
 
407
- XMLPUBFUN int * XMLCALL __xmlKeepBlanksDefaultValue(void);
407
+ XMLPUBFUN int * XMLCALL __nl_xmlKeepBlanksDefaultValue(void);
408
408
  #ifdef LIBXML_THREAD_ENABLED
409
- #define xmlKeepBlanksDefaultValue \
410
- (*(__xmlKeepBlanksDefaultValue()))
409
+ #define nl_xmlKeepBlanksDefaultValue \
410
+ (*(__nl_xmlKeepBlanksDefaultValue()))
411
411
  #else
412
- XMLPUBVAR int xmlKeepBlanksDefaultValue;
412
+ XMLPUBVAR int nl_xmlKeepBlanksDefaultValue;
413
413
  #endif
414
- XMLPUBFUN int XMLCALL xmlThrDefKeepBlanksDefaultValue(int v);
414
+ XMLPUBFUN int XMLCALL nl_xmlThrDefKeepBlanksDefaultValue(int v);
415
415
 
416
416
  XML_DEPRECATED
417
- XMLPUBFUN int * XMLCALL __xmlLineNumbersDefaultValue(void);
417
+ XMLPUBFUN int * XMLCALL __nl_xmlLineNumbersDefaultValue(void);
418
418
  #ifdef LIBXML_THREAD_ENABLED
419
- #define xmlLineNumbersDefaultValue \
420
- (*(__xmlLineNumbersDefaultValue()))
419
+ #define nl_xmlLineNumbersDefaultValue \
420
+ (*(__nl_xmlLineNumbersDefaultValue()))
421
421
  #else
422
422
  XML_DEPRECATED
423
- XMLPUBVAR int xmlLineNumbersDefaultValue;
423
+ XMLPUBVAR int nl_xmlLineNumbersDefaultValue;
424
424
  #endif
425
425
  XML_DEPRECATED
426
- XMLPUBFUN int XMLCALL xmlThrDefLineNumbersDefaultValue(int v);
426
+ XMLPUBFUN int XMLCALL nl_xmlThrDefLineNumbersDefaultValue(int v);
427
427
 
428
- XMLPUBFUN int * XMLCALL __xmlLoadExtDtdDefaultValue(void);
428
+ XMLPUBFUN int * XMLCALL __nl_xmlLoadExtDtdDefaultValue(void);
429
429
  #ifdef LIBXML_THREAD_ENABLED
430
- #define xmlLoadExtDtdDefaultValue \
431
- (*(__xmlLoadExtDtdDefaultValue()))
430
+ #define nl_xmlLoadExtDtdDefaultValue \
431
+ (*(__nl_xmlLoadExtDtdDefaultValue()))
432
432
  #else
433
- XMLPUBVAR int xmlLoadExtDtdDefaultValue;
433
+ XMLPUBVAR int nl_xmlLoadExtDtdDefaultValue;
434
434
  #endif
435
- XMLPUBFUN int XMLCALL xmlThrDefLoadExtDtdDefaultValue(int v);
435
+ XMLPUBFUN int XMLCALL nl_xmlThrDefLoadExtDtdDefaultValue(int v);
436
436
 
437
- XMLPUBFUN int * XMLCALL __xmlParserDebugEntities(void);
437
+ XMLPUBFUN int * XMLCALL __nl_xmlParserDebugEntities(void);
438
438
  #ifdef LIBXML_THREAD_ENABLED
439
- #define xmlParserDebugEntities \
440
- (*(__xmlParserDebugEntities()))
439
+ #define nl_xmlParserDebugEntities \
440
+ (*(__nl_xmlParserDebugEntities()))
441
441
  #else
442
- XMLPUBVAR int xmlParserDebugEntities;
442
+ XMLPUBVAR int nl_xmlParserDebugEntities;
443
443
  #endif
444
- XMLPUBFUN int XMLCALL xmlThrDefParserDebugEntities(int v);
444
+ XMLPUBFUN int XMLCALL nl_xmlThrDefParserDebugEntities(int v);
445
445
 
446
- XMLPUBFUN const char * * XMLCALL __xmlParserVersion(void);
446
+ XMLPUBFUN const char * * XMLCALL __nl_xmlParserVersion(void);
447
447
  #ifdef LIBXML_THREAD_ENABLED
448
- #define xmlParserVersion \
449
- (*(__xmlParserVersion()))
448
+ #define nl_xmlParserVersion \
449
+ (*(__nl_xmlParserVersion()))
450
450
  #else
451
- XMLPUBVAR const char * xmlParserVersion;
451
+ XMLPUBVAR const char * nl_xmlParserVersion;
452
452
  #endif
453
453
 
454
454
  XML_DEPRECATED
455
- XMLPUBFUN int * XMLCALL __xmlPedanticParserDefaultValue(void);
455
+ XMLPUBFUN int * XMLCALL __nl_xmlPedanticParserDefaultValue(void);
456
456
  #ifdef LIBXML_THREAD_ENABLED
457
- #define xmlPedanticParserDefaultValue \
458
- (*(__xmlPedanticParserDefaultValue()))
457
+ #define nl_xmlPedanticParserDefaultValue \
458
+ (*(__nl_xmlPedanticParserDefaultValue()))
459
459
  #else
460
460
  XML_DEPRECATED
461
- XMLPUBVAR int xmlPedanticParserDefaultValue;
461
+ XMLPUBVAR int nl_xmlPedanticParserDefaultValue;
462
462
  #endif
463
463
  XML_DEPRECATED
464
- XMLPUBFUN int XMLCALL xmlThrDefPedanticParserDefaultValue(int v);
464
+ XMLPUBFUN int XMLCALL nl_xmlThrDefPedanticParserDefaultValue(int v);
465
465
 
466
- XMLPUBFUN int * XMLCALL __xmlSaveNoEmptyTags(void);
466
+ XMLPUBFUN int * XMLCALL __nl_xmlSaveNoEmptyTags(void);
467
467
  #ifdef LIBXML_THREAD_ENABLED
468
- #define xmlSaveNoEmptyTags \
469
- (*(__xmlSaveNoEmptyTags()))
468
+ #define nl_xmlSaveNoEmptyTags \
469
+ (*(__nl_xmlSaveNoEmptyTags()))
470
470
  #else
471
- XMLPUBVAR int xmlSaveNoEmptyTags;
471
+ XMLPUBVAR int nl_xmlSaveNoEmptyTags;
472
472
  #endif
473
- XMLPUBFUN int XMLCALL xmlThrDefSaveNoEmptyTags(int v);
473
+ XMLPUBFUN int XMLCALL nl_xmlThrDefSaveNoEmptyTags(int v);
474
474
 
475
- XMLPUBFUN int * XMLCALL __xmlSubstituteEntitiesDefaultValue(void);
475
+ XMLPUBFUN int * XMLCALL __nl_xmlSubstituteEntitiesDefaultValue(void);
476
476
  #ifdef LIBXML_THREAD_ENABLED
477
- #define xmlSubstituteEntitiesDefaultValue \
478
- (*(__xmlSubstituteEntitiesDefaultValue()))
477
+ #define nl_xmlSubstituteEntitiesDefaultValue \
478
+ (*(__nl_xmlSubstituteEntitiesDefaultValue()))
479
479
  #else
480
- XMLPUBVAR int xmlSubstituteEntitiesDefaultValue;
480
+ XMLPUBVAR int nl_xmlSubstituteEntitiesDefaultValue;
481
481
  #endif
482
- XMLPUBFUN int XMLCALL xmlThrDefSubstituteEntitiesDefaultValue(int v);
482
+ XMLPUBFUN int XMLCALL nl_xmlThrDefSubstituteEntitiesDefaultValue(int v);
483
483
 
484
484
  XML_DEPRECATED
485
- XMLPUBFUN xmlRegisterNodeFunc * XMLCALL __xmlRegisterNodeDefaultValue(void);
485
+ XMLPUBFUN xmlRegisterNodeFunc * XMLCALL __nl_xmlRegisterNodeDefaultValue(void);
486
486
  #ifdef LIBXML_THREAD_ENABLED
487
- #define xmlRegisterNodeDefaultValue \
488
- (*(__xmlRegisterNodeDefaultValue()))
487
+ #define nl_xmlRegisterNodeDefaultValue \
488
+ (*(__nl_xmlRegisterNodeDefaultValue()))
489
489
  #else
490
490
  XML_DEPRECATED
491
- XMLPUBVAR xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
491
+ XMLPUBVAR xmlRegisterNodeFunc nl_xmlRegisterNodeDefaultValue;
492
492
  #endif
493
493
 
494
494
  XML_DEPRECATED
495
- XMLPUBFUN xmlDeregisterNodeFunc * XMLCALL __xmlDeregisterNodeDefaultValue(void);
495
+ XMLPUBFUN xmlDeregisterNodeFunc * XMLCALL __nl_xmlDeregisterNodeDefaultValue(void);
496
496
  #ifdef LIBXML_THREAD_ENABLED
497
- #define xmlDeregisterNodeDefaultValue \
498
- (*(__xmlDeregisterNodeDefaultValue()))
497
+ #define nl_xmlDeregisterNodeDefaultValue \
498
+ (*(__nl_xmlDeregisterNodeDefaultValue()))
499
499
  #else
500
500
  XML_DEPRECATED
501
- XMLPUBVAR xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
501
+ XMLPUBVAR xmlDeregisterNodeFunc nl_xmlDeregisterNodeDefaultValue;
502
502
  #endif
503
503
 
504
504
  XML_DEPRECATED
505
505
  XMLPUBFUN xmlParserInputBufferCreateFilenameFunc * XMLCALL \
506
- __xmlParserInputBufferCreateFilenameValue(void);
506
+ __nl_xmlParserInputBufferCreateFilenameValue(void);
507
507
  #ifdef LIBXML_THREAD_ENABLED
508
- #define xmlParserInputBufferCreateFilenameValue \
509
- (*(__xmlParserInputBufferCreateFilenameValue()))
508
+ #define nl_xmlParserInputBufferCreateFilenameValue \
509
+ (*(__nl_xmlParserInputBufferCreateFilenameValue()))
510
510
  #else
511
511
  XML_DEPRECATED
512
- XMLPUBVAR xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue;
512
+ XMLPUBVAR xmlParserInputBufferCreateFilenameFunc nl_xmlParserInputBufferCreateFilenameValue;
513
513
  #endif
514
514
 
515
515
  XML_DEPRECATED
516
- XMLPUBFUN xmlOutputBufferCreateFilenameFunc * XMLCALL __xmlOutputBufferCreateFilenameValue(void);
516
+ XMLPUBFUN xmlOutputBufferCreateFilenameFunc * XMLCALL __nl_xmlOutputBufferCreateFilenameValue(void);
517
517
  #ifdef LIBXML_THREAD_ENABLED
518
- #define xmlOutputBufferCreateFilenameValue \
519
- (*(__xmlOutputBufferCreateFilenameValue()))
518
+ #define nl_xmlOutputBufferCreateFilenameValue \
519
+ (*(__nl_xmlOutputBufferCreateFilenameValue()))
520
520
  #else
521
521
  XML_DEPRECATED
522
- XMLPUBVAR xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue;
522
+ XMLPUBVAR xmlOutputBufferCreateFilenameFunc nl_xmlOutputBufferCreateFilenameValue;
523
523
  #endif
524
524
 
525
525
  #ifdef __cplusplus