X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Flibxml%2Fdict.h;h=7022ec8bee7df4c9b49181d9c42c6b08004ec2d9;hb=refs%2Ftags%2Fsubmit%2Ftizen_base%2F20160618.070626;hp=b83db59a126d428049707e710bd077af968ab6cf;hpb=4a03d002b6277ad904b051cb922503bce286e70b;p=platform%2Fupstream%2Flibxml2.git diff --git a/include/libxml/dict.h b/include/libxml/dict.h index b83db59..7022ec8 100644 --- a/include/libxml/dict.h +++ b/include/libxml/dict.h @@ -1,5 +1,5 @@ /* - * Summary: string dictionary + * Summary: string dictionnary * 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__ -#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 #include #include @@ -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,