minor map/hash table compatibility tweaks and simplify notification center

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33210 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-05-31 06:46:17 +00:00
parent 1f6ae33b75
commit a3d6ab0806
17 changed files with 223 additions and 159 deletions

View file

@ -726,8 +726,8 @@ didUpdateRecordData: (id)data
[_info setObject: name forKey: @"name"];
[_info setObject: [NSNumber numberWithInteger: port]
forKey: @"port"];
_browsers = NSCreateMapTable(NSIntMapKeyCallBacks, valueCallbacks, 10);
_browserTimeouts = NSCreateMapTable(NSIntMapKeyCallBacks,
_browsers = NSCreateMapTable(NSIntegerMapKeyCallBacks, valueCallbacks, 10);
_browserTimeouts = NSCreateMapTable(NSIntegerMapKeyCallBacks,
NSObjectMapValueCallBacks, 10);
if (port > 0)
{