@@ -510,11 +510,11 @@ * \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*)allocMemoryForNItems: (size_t)nItems - withSize: (size_t)size; + ofSize: (size_t)size; /** * \brief Resizes memory in the object's memory pool to the specified size. * * If the pointer is NULL, this is equivalent to allocating memory. @@ -539,11 +539,11 @@ * \param size The size of each item to resize to * \return A pointer to the resized memory chunk */ - (void*)resizeMemory: (void*)pointer toNItems: (size_t)nItems - withSize: (size_t)size; + ofSize: (size_t)size; /** * \brief Frees allocated memory and removes it from the object's memory pool. * * Does nothing if the pointer is NULL.