mirror of
https://github.com/GNOME/libxml2.git
synced 2025-10-22 08:20:36 +08:00
dict.h: Move xmlDictPtr definition before includes to allow direct inclusion.
This commit is contained in:

committed by
Daniel Veillard

parent
f6599c5164
commit
c71f9305a9
@@ -11,6 +11,18 @@
|
|||||||
#ifndef __XML_DICT_H__
|
#ifndef __XML_DICT_H__
|
||||||
#define __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 <limits.h>
|
||||||
#include <libxml/xmlversion.h>
|
#include <libxml/xmlversion.h>
|
||||||
#include <libxml/tree.h>
|
#include <libxml/tree.h>
|
||||||
@@ -19,12 +31,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
* The dictionary.
|
|
||||||
*/
|
|
||||||
typedef struct _xmlDict xmlDict;
|
|
||||||
typedef xmlDict *xmlDictPtr;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializer
|
* Initializer
|
||||||
*/
|
*/
|
||||||
|
@@ -9,14 +9,14 @@
|
|||||||
/if not defined(XML_DICT_H__)
|
/if not defined(XML_DICT_H__)
|
||||||
/define XML_DICT_H__
|
/define XML_DICT_H__
|
||||||
|
|
||||||
/include "libxmlrpg/xmlversion"
|
|
||||||
/include "libxmlrpg/xmlTypesC"
|
|
||||||
/include "libxmlrpg/tree"
|
|
||||||
|
|
||||||
* The dictionary.
|
* The dictionary.
|
||||||
|
|
||||||
d xmlDictPtr s * based(######typedef######)
|
d xmlDictPtr s * based(######typedef######)
|
||||||
|
|
||||||
|
/include "libxmlrpg/xmlversion"
|
||||||
|
/include "libxmlrpg/xmlTypesC"
|
||||||
|
/include "libxmlrpg/tree"
|
||||||
|
|
||||||
* Initializer
|
* Initializer
|
||||||
|
|
||||||
d xmlInitializeDict...
|
d xmlInitializeDict...
|
||||||
|
Reference in New Issue
Block a user