mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
* Source/NSXMLNode.m: Implement copyWithZone:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34405 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
15fee4d787
commit
dd8e257dd9
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-01-03 12:42-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/NSXMLNode.m: Implement copyWithZone:
|
||||
|
||||
2012-01-03 12:17-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Headers/Foundation/NSXMLNode.h: Add _stringValue
|
||||
|
|
|
@ -226,17 +226,16 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
|
|||
|
||||
- (id) copyWithZone: (NSZone*)zone
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
return nil;
|
||||
return NSCopyObject(self,0,zone);
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
{
|
||||
[self detach];
|
||||
[internal->children release];
|
||||
GS_DESTROY_INTERNAL(NSXMLNode)
|
||||
GS_DESTROY_INTERNAL(NSXMLNode);
|
||||
[_objectValue release];
|
||||
[_name release];
|
||||
[_stringValue release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -558,5 +557,6 @@ GS_PRIVATE_INTERNAL(NSXMLNode)
|
|||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue