19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
OF_ASSUME_NONNULL_BEGIN
/*!
* @class OFMutableSet OFSet.h ObjFW/OFSet.h
*
* @brief An abstract class for a mutable unordered set of unique objects.
*/
@interface OFMutableSet OF_GENERIC(ObjectType): OFSet OF_GENERIC(ObjectType)
#if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN)
# define ObjectType id
#endif
/*!
* @brief Creates a new OFMutableSet with enough memory to hold the specified
|
>
>
>
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
OF_ASSUME_NONNULL_BEGIN
/*!
* @class OFMutableSet OFSet.h ObjFW/OFSet.h
*
* @brief An abstract class for a mutable unordered set of unique objects.
*
* @note Subclasses must implement @ref addObject:, @ref removeObject: as well
* as all methods of @ref OFSet that need to be implemented.
*/
@interface OFMutableSet OF_GENERIC(ObjectType): OFSet OF_GENERIC(ObjectType)
#if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN)
# define ObjectType id
#endif
/*!
* @brief Creates a new OFMutableSet with enough memory to hold the specified
|