@@ -144,22 +144,22 @@ * automatically when the object is free'd. * * \param size The size of the memory to allocate * \return A pointer to the allocated memory */ -- (void*)getMemWithSize: (size_t)size; +- (void*)allocWithSize: (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 free'd. * * \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*)getMemForNItems: (size_t)nitems - ofSize: (size_t)size; +- (void*)allocNItems: (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 @@ -178,11 +178,11 @@ * \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 - ofSize: (size_t)size; + withSize: (size_t)size; /** * Frees allocated memory and removes it from the memory pool. * * \param ptr A pointer to the allocated memory