@@ -56,21 +56,21 @@ * \param obj The object to append * \return An of_list_object_t, needed to identify the object inside the list. * For example, if you want to remove an object from the list, you need * its of_list_object_t. */ -- (of_list_object_t*)append: (id)obj; +- (of_list_object_t*)append: (OFObject*)obj; /** * Prepends an object to the list. * * \param obj The object to prepend * \return An of_list_object_t, needed to identify the object inside the list. * For example, if you want to remove an object from the list, you need * its of_list_object_t. */ -- (of_list_object_t*)prepend: (id)obj; +- (of_list_object_t*)prepend: (OFObject*)obj; /** * Inserts an object before another object. * \param obj The object to insert * \param listobj The of_list_object_t of the object before which it should be @@ -77,11 +77,11 @@ * inserted * \return An of_list_object_t, needed to identify the object inside the list. * For example, if you want to remove an object from the list, you need * its of_list_object_t. */ -- (of_list_object_t*)insert: (id)obj +- (of_list_object_t*)insert: (OFObject*)obj before: (of_list_object_t*)listobj; /** * Inserts an object after another object. * \param obj The object to insert @@ -89,11 +89,11 @@ * inserted * \return An of_list_object_t, needed to identify the object inside the list. * For example, if you want to remove an object from the list, you need * its of_list_object_t. */ -- (of_list_object_t*)insert: (id)obj +- (of_list_object_t*)insert: (OFObject*)obj after: (of_list_object_t*)listobj; /** * Removes the object with the specified list object from the list. *