@@ -28,12 +28,12 @@ #import "OFSerialization.h" @class OFArray; #ifdef OF_HAVE_BLOCKS -typedef void (^of_set_enumeration_block_t)(id object, BOOL *stop); -typedef BOOL (^of_set_filter_block_t)(id object); +typedef void (^of_set_enumeration_block_t)(id object, bool *stop); +typedef bool (^of_set_filter_block_t)(id object); #endif /*! * @brief An abstract class for an unordered set of unique objects. * @@ -131,20 +131,20 @@ /*! * @brief Returns whether the receiver is a subset of the specified set. * * @return Whether the receiver is a subset of the specified set */ -- (BOOL)isSubsetOfSet: (OFSet*)set; +- (bool)isSubsetOfSet: (OFSet*)set; /*! * @brief Returns whether the receiver and the specified set have at least one * object in common. * * @return Whether the receiver and the specified set have at least one object * in common */ -- (BOOL)intersectsSet: (OFSet*)set; +- (bool)intersectsSet: (OFSet*)set; /*! * @brief Creates a new set which contains the objects which are in the * receiver, but not in the specified set. * @@ -176,15 +176,15 @@ */ - (void)enumerateObjectsUsingBlock: (of_set_enumeration_block_t)block; /*! * @brief Creates a new set, only containing the objects for which the block - * returns YES. + * returns true. * * @param block A block which determines if the object should be in the new set * @return A new, autoreleased OFSet */ - (OFSet*)filteredSetUsingBlock: (of_set_filter_block_t)block; #endif @end #import "OFMutableSet.h"