@@ -804,73 +804,10 @@ * returned * @return The method signature for the specified selector */ - (nullable OFMethodSignature *)methodSignatureForSelector: (SEL)selector; -/** - * @brief Allocates memory and stores it in the object's memory pool. - * - * It will 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. May return NULL if the specified - * size is 0. - */ -- (nullable void *)allocMemoryWithSize: (size_t)size OF_WARN_UNUSED_RESULT; - -/** - * @brief Allocates memory for the specified number of items and stores it in - * the object's memory pool. - * - * It will be free'd automatically when the object is deallocated. - * - * @param size The size of each item to allocate - * @param count The number of items to allocate - * @return A pointer to the allocated memory. May return NULL if the specified - * size or count is 0. - */ -- (nullable void *)allocMemoryWithSize: (size_t)size - count: (size_t)count OF_WARN_UNUSED_RESULT; - -/** - * @brief Resizes memory in the object's memory pool to the specified size. - * - * If the pointer is NULL, this is equivalent to allocating memory. - * If the size is 0, this is equivalent to freeing memory. - * - * @param pointer A pointer to the already allocated memory - * @param size The new size for the memory chunk - * @return A pointer to the resized memory chunk - */ -- (nullable void *)resizeMemory: (nullable void *)pointer - size: (size_t)size OF_WARN_UNUSED_RESULT; - -/** - * @brief Resizes memory in the object's memory pool to the specific number of - * items of the specified size. - * - * If the pointer is NULL, this is equivalent to allocating memory. - * If the size or number of items is 0, this is equivalent to freeing memory. - * - * @param pointer A pointer to the already allocated memory - * @param size The size of each item to resize to - * @param count The number of items to resize to - * @return A pointer to the resized memory chunk - */ -- (nullable void *)resizeMemory: (nullable void *)pointer - size: (size_t)size - count: (size_t)count OF_WARN_UNUSED_RESULT; - -/** - * @brief Frees allocated memory and removes it from the object's memory pool. - * - * Does nothing if the pointer is NULL. - * - * @param pointer A pointer to the allocated memory - */ -- (void)freeMemory: (nullable void *)pointer; - /** * @brief Deallocates the object. * * It is automatically called when the retain count reaches zero. *