@@ -15,11 +15,11 @@ */ #import "OFObject.h" #ifdef OF_HAVE_BLOCKS -typedef void (^of_thread_pool_block_t)(id object); +typedef void (^of_thread_pool_block_t)(void); #endif @class OFMutableArray; @class OFList; @class OFCondition; @@ -105,19 +105,10 @@ * \brief Executes the specified block as soon as a thread is ready. * * \param block The block to execute */ - (void)dispatchWithBlock: (of_thread_pool_block_t)block; - -/** - * \brief Executes the specified block as soon as a thread is ready. - * - * \param block The block to execute - * \param object The object to pass to the block - */ -- (void)dispatchWithBlock: (of_thread_pool_block_t)block - object: (id)object; #endif /** * \brief Waits until all jobs are done. */