projects
/
platform
/
upstream
/
libxml2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rolled back to 2.9.2 because 2.9.4 doesn't work with XML validator
[platform/upstream/libxml2.git]
/
include
/
libxml
/
dict.h
diff --git
a/include/libxml/dict.h
b/include/libxml/dict.h
index
b83db59
..
7022ec8
100644
(file)
--- a/
include/libxml/dict.h
+++ b/
include/libxml/dict.h
@@
-1,5
+1,5
@@
/*
/*
- * Summary: string dictionary
+ * Summary: string diction
n
ary
* Description: dictionary of reusable strings, just used to avoid allocation
* and freeing operations.
*
* Description: dictionary of reusable strings, just used to avoid allocation
* and freeing operations.
*
@@
-11,18
+11,6
@@
#ifndef __XML_DICT_H__
#define __XML_DICT_H__
#ifndef __XML_DICT_H__
#define __XML_DICT_H__
-#ifdef __cplusplus
-#define __XML_EXTERNC extern "C"
-#else
-#define __XML_EXTERNC
-#endif
-
-/*
- * The dictionary.
- */
-__XML_EXTERNC typedef struct _xmlDict xmlDict;
-__XML_EXTERNC typedef xmlDict *xmlDictPtr;
-
#include <limits.h>
#include <libxml/xmlversion.h>
#include <libxml/tree.h>
#include <limits.h>
#include <libxml/xmlversion.h>
#include <libxml/tree.h>
@@
-32,6
+20,12
@@
extern "C" {
#endif
/*
#endif
/*
+ * The dictionnary.
+ */
+typedef struct _xmlDict xmlDict;
+typedef xmlDict *xmlDictPtr;
+
+/*
* Initializer
*/
XMLPUBFUN int XMLCALL xmlInitializeDict(void);
* Initializer
*/
XMLPUBFUN int XMLCALL xmlInitializeDict(void);
@@
-54,7
+48,7
@@
XMLPUBFUN void XMLCALL
xmlDictFree (xmlDictPtr dict);
/*
xmlDictFree (xmlDictPtr dict);
/*
- * Lookup of entry in the dictionary.
+ * Lookup of entry in the diction
n
ary.
*/
XMLPUBFUN const xmlChar * XMLCALL
xmlDictLookup (xmlDictPtr dict,
*/
XMLPUBFUN const xmlChar * XMLCALL
xmlDictLookup (xmlDictPtr dict,