Differences From Artifact [7c028d029d]:
- File
src/OFDictionary.h
— part of check-in
[9338313079]
at
2009-05-05 14:00:10
on branch trunk
— There is a good reason to return id and not OFObject*.
When using OFObject*, you have to cast to get rid of a warning when
calling methods on the returned object. (user: js, size: 2010) [annotate] [blame] [check-ins using]
To Artifact [3f6c3d3146]:
- File src/OFDictionary.h — part of check-in [bdc9b3219f] at 2009-05-14 14:24:02 on branch trunk — Get rid of OFNotInSetException. (user: js, size: 2042) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
58 59 60 61 62 63 64 | * \param obj The object to set the key to */ - set: (OFObject*)key to: (OFObject*)obj; /** * \param key The key whose object should be returned | | | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | * \param obj The object to set the key to */ - set: (OFObject*)key to: (OFObject*)obj; /** * \param key The key whose object should be returned * \return The object for the given key or nil if the key was not found */ - (id)get: (OFObject*)key; /** * Remove the object with the given key from the dictionary. * * \param key The key whose object should be removed |
︙ | ︙ |