27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
*
* @brief A list object.
*
* A struct that contains a pointer to the next list object, the previous list
* object and the object.
*/
struct of_list_object_t {
/// A pointer to the next list object in the list
of_list_object_t *next;
/// A pointer to the previous list object in the list
of_list_object_t *previous;
/// The object for the list object
id __unsafe_unretained object;
};
/*!
* @class OFList OFList.h ObjFW/OFList.h
*
* @brief A class which provides easy to use double-linked lists.
|
|
|
|
|
|
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
*
* @brief A list object.
*
* A struct that contains a pointer to the next list object, the previous list
* object and the object.
*/
struct of_list_object_t {
/*! A pointer to the next list object in the list */
of_list_object_t *_Nullable next;
/*! A pointer to the previous list object in the list */
of_list_object_t *_Nullable previous;
/*! The object for the list object */
id __unsafe_unretained object;
};
/*!
* @class OFList OFList.h ObjFW/OFList.h
*
* @brief A class which provides easy to use double-linked lists.
|