mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +00:00
add a feew comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34414 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
81262af7e6
commit
edf5a1afc1
1 changed files with 49 additions and 27 deletions
|
@ -34,7 +34,9 @@
|
||||||
#define EXPOSE_NSXMLElement_IVARS 1
|
#define EXPOSE_NSXMLElement_IVARS 1
|
||||||
#define EXPOSE_NSXMLNode_IVARS 1
|
#define EXPOSE_NSXMLNode_IVARS 1
|
||||||
|
|
||||||
/*
|
/* Instance variables for NSXMLNode. This macro needs to be defined before
|
||||||
|
* the NSXMLNode.h header is imported and before GSInternal.h is imported.
|
||||||
|
*
|
||||||
* Description of internal ivars:
|
* Description of internal ivars:
|
||||||
* - `children': The primary storage for the descendant nodes. We use an NSArray
|
* - `children': The primary storage for the descendant nodes. We use an NSArray
|
||||||
* here until somebody finds out it's not fast enough.
|
* here until somebody finds out it's not fast enough.
|
||||||
|
@ -74,32 +76,11 @@
|
||||||
#define SUPERIVARS(X) X
|
#define SUPERIVARS(X) X
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GS_NSXMLDTD_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
/* Instance variables for NSXMLDocument with/without the instance
|
||||||
NSString *publicID; \
|
* variable 'inherited' from NSXMLNode.
|
||||||
NSString *systemID; \
|
* This macro needs to be defined before the NSXMLDocument.h header
|
||||||
BOOL childrenHaveMutated; \
|
* is imported and before GSInternal.h is imported.
|
||||||
BOOL modified; \
|
*/
|
||||||
NSMutableDictionary *entities; \
|
|
||||||
NSMutableDictionary *elements; \
|
|
||||||
NSMutableDictionary *notations; \
|
|
||||||
NSMutableDictionary *attributes; \
|
|
||||||
NSString *original; \
|
|
||||||
|
|
||||||
|
|
||||||
#define GS_NSXMLDTDNode_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
|
||||||
NSUInteger DTDKind; \
|
|
||||||
NSString *notationName; \
|
|
||||||
NSString *publicID; \
|
|
||||||
NSString *systemID; \
|
|
||||||
|
|
||||||
|
|
||||||
#define GS_NSXMLElement_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
|
||||||
NSMutableDictionary *attributes; \
|
|
||||||
NSMutableArray *namespaces; \
|
|
||||||
BOOL childrenHaveMutated; \
|
|
||||||
NSInteger prefixIndex; \
|
|
||||||
|
|
||||||
|
|
||||||
#define GS_NSXMLDocument_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
#define GS_NSXMLDocument_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
||||||
NSString *encoding; \
|
NSString *encoding; \
|
||||||
NSString *version; \
|
NSString *version; \
|
||||||
|
@ -114,6 +95,47 @@
|
||||||
NSData *xmlData; \
|
NSData *xmlData; \
|
||||||
|
|
||||||
|
|
||||||
|
/* Instance variables for NSXMLDTD with/without the instance
|
||||||
|
* variable 'inherited' from NSXMLNode.
|
||||||
|
* This macro needs to be defined before the NSXMLDTD.h header
|
||||||
|
* is imported and before GSInternal.h is imported.
|
||||||
|
*/
|
||||||
|
#define GS_NSXMLDTD_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
||||||
|
NSString *publicID; \
|
||||||
|
NSString *systemID; \
|
||||||
|
BOOL childrenHaveMutated; \
|
||||||
|
BOOL modified; \
|
||||||
|
NSMutableDictionary *entities; \
|
||||||
|
NSMutableDictionary *elements; \
|
||||||
|
NSMutableDictionary *notations; \
|
||||||
|
NSMutableDictionary *attributes; \
|
||||||
|
NSString *original; \
|
||||||
|
|
||||||
|
|
||||||
|
/* Instance variables for NSXMLDTDNode with/without the instance
|
||||||
|
* variable 'inherited' from NSXMLNode.
|
||||||
|
* This macro needs to be defined before the NSXMLDTDNode.h header
|
||||||
|
* is imported and before GSInternal.h is imported.
|
||||||
|
*/
|
||||||
|
#define GS_NSXMLDTDNode_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
||||||
|
NSUInteger DTDKind; \
|
||||||
|
NSString *notationName; \
|
||||||
|
NSString *publicID; \
|
||||||
|
NSString *systemID; \
|
||||||
|
|
||||||
|
|
||||||
|
/* Instance variables for NSXMLElement with/without the instance
|
||||||
|
* variable 'inherited' from NSXMLNode.
|
||||||
|
* This macro needs to be defined before the NSXMLElement.h header
|
||||||
|
* is imported and before GSInternal.h is imported.
|
||||||
|
*/
|
||||||
|
#define GS_NSXMLElement_IVARS SUPERIVARS(GS_NSXMLNode_IVARS) \
|
||||||
|
NSMutableDictionary *attributes; \
|
||||||
|
NSMutableArray *namespaces; \
|
||||||
|
BOOL childrenHaveMutated; \
|
||||||
|
NSInteger prefixIndex; \
|
||||||
|
|
||||||
|
|
||||||
#import "Foundation/NSArray.h"
|
#import "Foundation/NSArray.h"
|
||||||
#import "Foundation/NSData.h"
|
#import "Foundation/NSData.h"
|
||||||
#import "Foundation/NSDebug.h"
|
#import "Foundation/NSDebug.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue