mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
added subNodes ivar to track ownership of nodes in a tree
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34513 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3464a615f5
commit
f7aff866ac
3 changed files with 20 additions and 1 deletions
|
@ -219,7 +219,7 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
|||
[children release];
|
||||
internal->rootElement = (NSXMLElement*)root;
|
||||
*/
|
||||
xmlElementPtr newrootnode;
|
||||
xmlNodePtr newrootnode;
|
||||
NSAssert(root != nil, NSInvalidArgumentException);
|
||||
// Set
|
||||
xmlDocSetRootElement(MY_DOC,[root _node]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue