Differences From Artifact [97d15662b8]:
- File src/OFExceptions.h — part of check-in [67066be692] at 2009-05-15 20:01:54 on branch trunk — Use OFString as much as possible. (user: js, size: 14396) [annotate] [blame] [check-ins using]
To Artifact [cd34df0695]:
- File
src/OFExceptions.h
— part of check-in
[033054ad75]
at
2009-05-29 19:21:57
on branch trunk
— A few renames.
OFExceptions:
* OFNoMemException to OFOutOfMemoryException.
* OFMemNotPartOfObjException to OFMemoryNotPartOfObjectException.OFObject:
* -[addItemToMemoryPool:] to -[addMemoryToPool:].
* -[allocWithSize:] to -[allocMemoryWithSize:].
* -[allocNItems:withSize] to -[allocMemoryForNItems:withSize:].
* -[resizeMem:toSize] to -[resizeMemory:toSize:].
* -[resizeMem:toNItems:withSize:] to
-[resizeMemoryToNItems:withSize:].
* -[freeMem] to -[freeMemory:].OFString:
* -[urlencode] to -[urlEncodedString].
* -[urldecode] to -[urlDecodedString]. (user: js, size: 14408) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
74 75 76 77 78 79 80 | */ - (OFString*)string; @end /** * An OFException indicating there is not enough memory available. */ | | | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | */ - (OFString*)string; @end /** * An OFException indicating there is not enough memory available. */ @interface OFOutOfMemoryException: OFException { size_t req_size; } /** * \param class The class of the object which caused the exception * \param size The size of the memory that couldn't be allocated |
︙ | ︙ | |||
106 107 108 109 110 111 112 | */ - (size_t)requestedSize; @end /** * An OFException indicating the given memory is not part of the object. */ | | | 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | */ - (size_t)requestedSize; @end /** * An OFException indicating the given memory is not part of the object. */ @interface OFMemoryNotPartOfObjectException: OFException { void *pointer; } /** * \param class The class of the object which caused the exception * \param ptr A pointer to the memory that is not part of the object |
︙ | ︙ |