ObjFW  Diff

Differences From Artifact [482cb22a3c]:

To Artifact [93706299d5]:


44
45
46
47
48
49
50








51
52
53
54
55
56
57
58
59
60
61
62
63
64



65







66







67
68
69
70
71
72
73
74
	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;

/**
 * \brief An enum for storing endianess.
 */
typedef enum of_endianess_t {



	OF_ENDIANESS_BIG_ENDIAN,







	OF_ENDIANESS_LITTLE_ENDIAN







} of_endianess_t;

@class OFString;

/**
 * \brief The protocol which all root classes implement.
 */
@protocol OFObject







>
>
>
>
>
>
>
>











|

|
>
>
>
|
>
>
>
>
>
>
>
|
>
>
>
>
>
>
>
|







44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
	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 An enum for storing endianess.
 */
typedef enum of_endianess_t {
	OF_ENDIANESS_BIG_ENDIAN,
	OF_ENDIANESS_LITTLE_ENDIAN
} of_endianess_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;

/**
 * \brief A point.
 */
typedef struct of_point_t {
	int x;
	int y;
} of_point_t;

/**
 * \brief A dimension.
 */
typedef struct of_dimension_t {
	int width;
	int height;
} of_dimension_t;

/**
 * \brief A rectangle.
 */
typedef struct of_rectangle_t
{
	of_point_t origin;
	of_dimension_t size;
} of_rectangle_t;

@class OFString;

/**
 * \brief The protocol which all root classes implement.
 */
@protocol OFObject