diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-11-14 15:04:32 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-11-14 15:04:32 +0000 |
commit | 0ec986359adc04677529d5e704ff30bf8e5d3a05 (patch) | |
tree | cdc2cf2af7abb16af0ec082920f5abc4507830b2 /include/libxml | |
parent | d33cfbf16ca3834097ab54a2215b74fb5ea7420a (diff) | |
download | android_external_libxml2-0ec986359adc04677529d5e704ff30bf8e5d3a05.tar.gz android_external_libxml2-0ec986359adc04677529d5e704ff30bf8e5d3a05.tar.bz2 android_external_libxml2-0ec986359adc04677529d5e704ff30bf8e5d3a05.zip |
better comments for _private fields removed a problem when copying an
* include/libxml/tree.h: better comments for _private fields
* tree.c: removed a problem when copying an entity reference.
Daniel
Diffstat (limited to 'include/libxml')
-rw-r--r-- | include/libxml/tree.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/libxml/tree.h b/include/libxml/tree.h index 986890e0..35b3d8ed 100644 --- a/include/libxml/tree.h +++ b/include/libxml/tree.h @@ -173,7 +173,7 @@ struct _xmlEnumeration { typedef struct _xmlAttribute xmlAttribute; typedef xmlAttribute *xmlAttributePtr; struct _xmlAttribute { - void *_private; /* for Corba, must be first ! */ + void *_private; /* application data */ xmlElementType type; /* XML_ATTRIBUTE_DECL, must be second ! */ const xmlChar *name; /* Attribute name */ struct _xmlNode *children; /* NULL */ @@ -258,7 +258,7 @@ typedef enum { typedef struct _xmlElement xmlElement; typedef xmlElement *xmlElementPtr; struct _xmlElement { - void *_private; /* for Corba, must be first ! */ + void *_private; /* application data */ xmlElementType type; /* XML_ELEMENT_DECL, must be second ! */ const xmlChar *name; /* Element name */ struct _xmlNode *children; /* NULL */ @@ -311,7 +311,7 @@ struct _xmlNs { typedef struct _xmlDtd xmlDtd; typedef xmlDtd *xmlDtdPtr; struct _xmlDtd { - void *_private; /* for Corba, must be first ! */ + void *_private; /* application data */ xmlElementType type; /* XML_DTD_NODE, must be second ! */ const xmlChar *name; /* Name of the DTD */ struct _xmlNode *children; /* the value of the property link */ @@ -339,7 +339,7 @@ struct _xmlDtd { typedef struct _xmlAttr xmlAttr; typedef xmlAttr *xmlAttrPtr; struct _xmlAttr { - void *_private; /* for Corba, must be first ! */ + void *_private; /* application data */ xmlElementType type; /* XML_ATTRIBUTE_NODE, must be second ! */ const xmlChar *name; /* the name of the property */ struct _xmlNode *children; /* the value of the property */ @@ -414,7 +414,7 @@ struct _xmlBuffer { typedef struct _xmlNode xmlNode; typedef xmlNode *xmlNodePtr; struct _xmlNode { - void *_private; /* for Corba, must be first ! */ + void *_private; /* application data */ xmlElementType type; /* type number, must be second ! */ const xmlChar *name; /* the name of the node, or the entity */ struct _xmlNode *children; /* parent->childs link */ @@ -459,7 +459,7 @@ struct _xmlNode { typedef struct _xmlDoc xmlDoc; typedef xmlDoc *xmlDocPtr; struct _xmlDoc { - void *_private; /* for Corba, must be first ! */ + void *_private; /* application data */ xmlElementType type; /* XML_DOCUMENT_NODE, must be second ! */ char *name; /* name/filename/URI of the document */ struct _xmlNode *children; /* the document tree */ |