@@ -132,41 +132,41 @@ * This is useful to add memory allocated by functions such as asprintf to the * pool so it gets free'd automatically when the object is deallocated. * * \param ptr A pointer to add to the memory pool */ -- addItemToMemoryPool: (void*)ptr; +- addMemoryToPool: (void*)ptr; /** * Allocate memory and store it in the objects memory pool so it can be free'd * automatically when the object is deallocated. * * \param size The size of the memory to allocate * \return A pointer to the allocated memory */ -- (void*)allocWithSize: (size_t)size; +- (void*)allocMemoryWithSize: (size_t)size; /** * Allocate memory for a specified number of items and store it in the objects * memory pool so it can be free'd automatically when the object is deallocated. * * \param nitems The number of items to allocate * \param size The size of each item to allocate * \return A pointer to the allocated memory */ -- (void*)allocNItems: (size_t)nitems - withSize: (size_t)size; +- (void*)allocMemoryForNItems: (size_t)nitems + withSize: (size_t)size; /** * Resize memory in the memory pool to a specified size. * * \param ptr A pointer to the already allocated memory * \param size The new size for the memory chunk * \return A pointer to the resized memory chunk */ -- (void*)resizeMem: (void*)ptr - toSize: (size_t)size; +- (void*)resizeMemory: (void*)ptr + toSize: (size_t)size; /** * Resize memory in the memory pool to a specific number of items of a * specified size. * @@ -173,20 +173,20 @@ * \param ptr A pointer to the already allocated memory * \param nitems The number of items to resize to * \param size The size of each item to resize to * \return A pointer to the resized memory chunk */ -- (void*)resizeMem: (void*)ptr - toNItems: (size_t)nitems - withSize: (size_t)size; +- (void*)resizeMemory: (void*)ptr + toNItems: (size_t)nitems + withSize: (size_t)size; /** * Frees allocated memory and removes it from the memory pool. * * \param ptr A pointer to the allocated memory */ -- freeMem: (void*)ptr; +- freeMemory: (void*)ptr; /** * Increases the retain count. */ - retain;