rolled back to 2.9.2 because 2.9.4 doesn't work with XML validator
[platform/upstream/libxml2.git] / include / libxml / dict.h
index b83db59..7022ec8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Summary: string dictionary
+ * Summary: string dictionnary
  * Description: dictionary of reusable strings, just used to avoid allocation
  *         and freeing operations.
  *
 #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>
@@ -32,6 +20,12 @@ extern "C" {
 #endif
 
 /*
+ * The dictionnary.
+ */
+typedef struct _xmlDict xmlDict;
+typedef xmlDict *xmlDictPtr;
+
+/*
  * Initializer
  */
 XMLPUBFUN int XMLCALL  xmlInitializeDict(void);
@@ -54,7 +48,7 @@ XMLPUBFUN void XMLCALL
                        xmlDictFree     (xmlDictPtr dict);
 
 /*
- * Lookup of entry in the dictionary.
+ * Lookup of entry in the dictionnary.
  */
 XMLPUBFUN const xmlChar * XMLCALL
                        xmlDictLookup   (xmlDictPtr dict,