| Index: third_party/libxml/src/include/libxml/dict.h
|
| diff --git a/third_party/libxml/src/include/libxml/dict.h b/third_party/libxml/src/include/libxml/dict.h
|
| index 7022ec8bee7df4c9b49181d9c42c6b08004ec2d9..b83db59a126d428049707e710bd077af968ab6cf 100644
|
| --- a/third_party/libxml/src/include/libxml/dict.h
|
| +++ b/third_party/libxml/src/include/libxml/dict.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Summary: string dictionnary
|
| + * Summary: string dictionary
|
| * Description: dictionary of reusable strings, just used to avoid allocation
|
| * and freeing operations.
|
| *
|
| @@ -11,6 +11,18 @@
|
| #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>
|
| @@ -20,12 +32,6 @@ extern "C" {
|
| #endif
|
|
|
| /*
|
| - * The dictionnary.
|
| - */
|
| -typedef struct _xmlDict xmlDict;
|
| -typedef xmlDict *xmlDictPtr;
|
| -
|
| -/*
|
| * Initializer
|
| */
|
| XMLPUBFUN int XMLCALL xmlInitializeDict(void);
|
| @@ -48,7 +54,7 @@ XMLPUBFUN void XMLCALL
|
| xmlDictFree (xmlDictPtr dict);
|
|
|
| /*
|
| - * Lookup of entry in the dictionnary.
|
| + * Lookup of entry in the dictionary.
|
| */
|
| XMLPUBFUN const xmlChar * XMLCALL
|
| xmlDictLookup (xmlDictPtr dict,
|
|
|