21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/**
* The OFList class provides easy to use double-linked lists.
*/
@interface OFList: OFObject
{
of_list_object_t *first;
of_list_object_t *last;
}
/**
* \return The first object in the list
*/
- (of_list_object_t*)first;
/**
* \return The last object in the list
|
>
>
>
>
>
>
>
>
>
>
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/**
* The OFList class provides easy to use double-linked lists.
*/
@interface OFList: OFObject
{
of_list_object_t *first;
of_list_object_t *last;
BOOL retain_and_release;
}
/**
* Initializes an already allocated OFList.
*
* \param enabled Whether release / retain should be called when an object is
* added / removed. Default: YES
* \return An initialized OFList
*/
- initWithRetainAndReleaseEnabled: (BOOL)enabled;
/**
* \return The first object in the list
*/
- (of_list_object_t*)first;
/**
* \return The last object in the list
|