19
20
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
|
#else
# import <objc/objc.h>
#endif
/**
* \brief A result of a comparison.
*/
typedef enum __of_comparison_result {
/// The left object is smaller than the right
OF_ORDERED_ASCENDING = -1,
/// Both objects are equal
OF_ORDERED_SAME = 0,
/// The left object is bigger than the right
OF_ORDERED_DESCENDING = 1
} of_comparison_result_t;
/**
* \brief A range.
*/
typedef struct __of_range {
size_t start;
size_t length;
} of_range_t;
@class OFString;
/**
* \brief The root class for all other classes inside ObjFW.
|
|
|
>
>
|
19
20
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
47
48
|
#else
# import <objc/objc.h>
#endif
/**
* \brief A result of a comparison.
*/
typedef enum of_comparison_result_t {
/// The left object is smaller than the right
OF_ORDERED_ASCENDING = -1,
/// Both objects are equal
OF_ORDERED_SAME = 0,
/// The left object is bigger than the right
OF_ORDERED_DESCENDING = 1
} of_comparison_result_t;
/**
* \brief A range.
*/
typedef struct of_range_t {
/// The start of the range
size_t start;
/// The length of the range
size_t length;
} of_range_t;
@class OFString;
/**
* \brief The root class for all other classes inside ObjFW.
|