mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
End hashtable enumerations cleanly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19193 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
514e0ac522
commit
4a68a4d9c5
2 changed files with 12 additions and 4 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,12 +1,18 @@
|
|||
2004-04-26 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSHashTable.m: End enumerations 'properly' ... no effect
|
||||
in current implementationm, but could be important in future.
|
||||
|
||||
2004-04-26 Willem Rein Oudshoorn <Wim.Oudshoorn@agilisys.com>
|
||||
|
||||
* Source/libgnustep-base-entry.m (gnustep_base_socket_init): Added braces for
|
||||
if statement
|
||||
* Source/libgnustep-base-entry.m (gnustep_base_socket_init):
|
||||
Added braces for if statement
|
||||
(DllMain): Removed old initialization code
|
||||
(gnustep_base_socket_handler): Removd this method plus declaration.
|
||||
|
||||
* Source/GSFFCallInvocation.m (GSInvocationCallback): Try to find type information
|
||||
if not available, also changes wording of exception when no type information is found.
|
||||
* Source/GSFFCallInvocation.m (GSInvocationCallback): Try to find
|
||||
type information if not available, also changes wording of exception
|
||||
when no type information is found.
|
||||
(Fixes #8654)
|
||||
|
||||
* Source/GSFFIInvocation.m (GSFFIInvocationCallback): Idem
|
||||
|
|
|
@ -84,6 +84,7 @@ NSAllHashTableObjects(NSHashTable *table)
|
|||
{
|
||||
[array addObject: element];
|
||||
}
|
||||
NSEndHashTableEnumeration(&enumerator)
|
||||
return array;
|
||||
}
|
||||
|
||||
|
@ -500,6 +501,7 @@ NSStringFromHashTable(NSHashTable *table)
|
|||
{
|
||||
[string appendFormat: @"%@;\n", (t->extra.describe)(table, element)];
|
||||
}
|
||||
NSEndHashTableEnumeration(&enumerator)
|
||||
return string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue