ObjFW  Diff

Differences From Artifact [2a5a45e545]:

To Artifact [1c80d73d6b]:


29
30
31
32
33
34
35


36
37
38
39
40
41
42

#ifdef OF_OBJFW_RUNTIME
# import <objfw-rt.h>
#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







>
>







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

#ifdef OF_OBJFW_RUNTIME
# import <objfw-rt.h>
#else
# import <objc/objc.h>
#endif

#define OF_RETAIN_COUNT_MAX UINT_MAX

/**
 * \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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
 * object deallocated if it reaches 0.
 */
- retain;

/**
 * \return The retain count
 */
- (size_t)retainCount;

/**
 * Decreases the retain count.
 *
 * Each time an object is released, the retain count gets decreased and the
 * object deallocated if it reaches 0.
 */







|







108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
 * object deallocated if it reaches 0.
 */
- retain;

/**
 * \return The retain count
 */
- (unsigned int)retainCount;

/**
 * Decreases the retain count.
 *
 * Each time an object is released, the retain count gets decreased and the
 * object deallocated if it reaches 0.
 */