Differences From Artifact [8e6d4d0e2c]:
- File src/OFMutableDictionary.h — part of check-in [e84073d0f9] at 2010-08-29 17:53:56 on branch trunk — More methods using blocks. (user: js, size: 1187) [annotate] [blame] [check-ins using]
To Artifact [fdc610a5c4]:
- File
src/OFMutableDictionary.h
— part of check-in
[e2b06423e0]
at
2010-09-05 23:19:08
on branch trunk
— Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. (user: js, size: 1166) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
26 27 28 29 30 31 32 | /** * Sets an object for a key. * A key can be any object. * * \param key The key to set * \param obj The object to set the key to */ | | | | | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | /** * Sets an object for a key. * A key can be any object. * * \param key The key to set * \param obj The object to set the key to */ - (void)setObject: (id)obj forKey: (id <OFCopying>)key; /** * Remove the object with the given key from the dictionary. * * \param key The key whose object should be removed */ - (void)removeObjectForKey: (id)key; #ifdef OF_HAVE_BLOCKS /** * Replaces each object with the object returned by the block. * * \param block The block which returns a new object for each object */ - (void)replaceObjectsUsingBlock: (of_dictionary_replace_block_t)block; #endif @end |