Differences From Artifact [95746eb4fa]:
- File
src/OFMutableSet.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 2560) [annotate] [blame] [check-ins using]
To Artifact [e778a4929f]:
- File src/OFMutableSet.h — part of check-in [4b6dfe02f2] at 2017-06-05 18:56:57 on branch trunk — Doxyfile: Add missing defines (user: js, size: 2547) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
19 20 21 22 23 24 25 | OF_ASSUME_NONNULL_BEGIN /*! * @class OFMutableSet OFSet.h ObjFW/OFSet.h * * @brief An abstract class for a mutable unordered set of unique objects. */ | < | < | | < < | 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. */ @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 * number of objects. * * @param capacity The initial capacity for the OFMutableSet * @return A new autoreleased OFMutableSet |
︙ | ︙ | |||
85 86 87 88 89 90 91 | */ - (void)unionSet: (OFSet OF_GENERIC(ObjectType) *)set; /*! * @brief Converts the mutable set to an immutable set. */ - (void)makeImmutable; | < > | 81 82 83 84 85 86 87 88 89 90 91 92 93 | */ - (void)unionSet: (OFSet OF_GENERIC(ObjectType) *)set; /*! * @brief Converts the mutable set to an immutable set. */ - (void)makeImmutable; #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # undef ObjectType #endif @end OF_ASSUME_NONNULL_END |