Author: theraven
Date: Tue Dec 29 17:49:07 2009
New Revision: 29181
URL: http://svn.gna.org/viewcvs/gnustep?rev=29181&view=rev
Log:
Refactored last two commits so that all of the real code is in GSIMap.h and is
just called from the relevant classes, rather than copied and pasted
everywhere. Also added fast enumeration support to GSCountedSet.
I think that's all of the classes that use GSIMaps for their implementation now
fully supporting fast enumeration. If there are any that I've missed, then
just copy the methods from GSSet to implement them. You just need to set the
mutations pointer to something sensible (i.e. something that will change if the
collection mutates) and then call the new
GSIMapCountByEnumeratingWithStateObjectsCount() function.
Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Headers/Additions/GNUstepBase/GSIMap.h
libs/base/trunk/Source/GSCountedSet.m
libs/base/trunk/Source/GSDictionary.m
libs/base/trunk/Source/GSSet.m
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs