Differences From Artifact [df204b4c51]:
- File src/OFSortedList.h — part of check-in [5329fe7c1a] at 2015-06-12 23:59:20 on branch trunk — Add support for and use the new ObjC generics (user: js, size: 1389) [annotate] [blame] [check-ins using]
To Artifact [fb7f02bccb]:
- File src/OFSortedList.h — part of check-in [9e76144ef8] at 2015-06-13 22:26:05 on branch trunk — Add support for and use the new nullability (user: js, size: 1437) [annotate] [blame] [check-ins using]
︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | + + | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFList.h" OF_ASSUME_NONNULL_BEGIN /*! * @class OFSortedList OFSortedList.h ObjFW/OFSortedList.h * * @brief A class which provides easy to use sorted double-linked lists. * * @warning Because the list is sorted, all methods inserting an object at a * specific place are unavailable, even though they exist in OFList! |
︙ | |||
39 40 41 42 43 44 45 | 41 42 43 44 45 46 47 48 49 | + + | * @return The list object for the object just added */ - (of_list_object_t*)insertObject: (ObjectType <OFComparing>)object; @end #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # undef ObjectType #endif OF_ASSUME_NONNULL_END |