add methods to keep the entire tree from getting deallocated while there are any external references to any object in the tree

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34579 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2012-01-18 20:12:27 +00:00
parent e1ac9467bf
commit 01ed308814
3 changed files with 56 additions and 3 deletions

View file

@ -113,6 +113,8 @@ StringFromXMLString(const unsigned char *bytes, unsigned length)
void *node; \
NSMutableArray *subNodes; \
NSString *xpath; \
int externalRetains; \
/* When using the non-fragile ABI, the instance variables are exposed to the
* compiler within the class declaration, so we don't need to incorporate