mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Add copy method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2747 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5ad4c23b77
commit
754c45b180
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Feb 12 13:31:00 1998 Adam Fedor <fedor@doc.com>
|
||||||
|
|
||||||
|
* src/NSDictionary.m ([-copy]): New method.
|
||||||
|
|
||||||
Mon Feb 9 13:08:27 1998 Adam Fedor <fedor@doc.com>
|
Mon Feb 9 13:08:27 1998 Adam Fedor <fedor@doc.com>
|
||||||
|
|
||||||
* AUTHORS, ANNOUNCE, README, INSTALL, STATUS, TODO: New files.
|
* AUTHORS, ANNOUNCE, README, INSTALL, STATUS, TODO: New files.
|
||||||
|
|
|
@ -359,6 +359,11 @@ compareIt(id o1, id o2, void* context)
|
||||||
return [[self description] writeToFile:path atomically:useAuxiliaryFile];
|
return [[self description] writeToFile:path atomically:useAuxiliaryFile];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- copy
|
||||||
|
{
|
||||||
|
return [self copyWithZone: [self zone]];
|
||||||
|
}
|
||||||
|
|
||||||
- copyWithZone: (NSZone*)z
|
- copyWithZone: (NSZone*)z
|
||||||
{
|
{
|
||||||
/* a deep copy */
|
/* a deep copy */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue