@@ -55,10 +55,11 @@ ofSize: (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; @@ -65,10 +66,11 @@ /** * Resize memory in the memory pool to a specific number of items of a * specified size. * + * \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