ObjFW  Diff

Differences From Artifact [57c5a42ed5]:

To Artifact [073716b8bf]:


49
50
51
52
53
54
55
56

57
58
59
60
61

62
63
64
65
66
67
68
49
50
51
52
53
54
55

56
57
58
59
60

61
62
63
64
65
66
67
68







-
+




-
+








+ (instancetype)valueWithNonretainedObject: (id)object
{
	return [[[OFNonretainedObjectValue alloc]
	    initWithNonretainedObject: object] autorelease];
}

+ (instancetype)valueWithRange: (of_range_t)range
+ (instancetype)valueWithRange: (OFRange)range
{
	return [[[OFRangeValue alloc] initWithRange: range] autorelease];
}

+ (instancetype)valueWithPoint: (of_point_t)point
+ (instancetype)valueWithPoint: (OFPoint)point
{
	return [[[OFPointValue alloc] initWithPoint: point] autorelease];
}

+ (instancetype)valueWithDimension: (of_dimension_t)dimension
{
	return [[[OFDimensionValue alloc]
169
170
171
172
173
174
175
176

177
178

179
180
181
182
183

184
185

186
187
188
189
190
191
192
169
170
171
172
173
174
175

176
177

178
179
180
181
182

183
184

185
186
187
188
189
190
191
192







-
+

-
+




-
+

-
+







- (id)nonretainedObjectValue
{
	id ret;
	[self getValue: &ret size: sizeof(ret)];
	return ret;
}

- (of_range_t)rangeValue
- (OFRange)rangeValue
{
	of_range_t ret;
	OFRange ret;
	[self getValue: &ret size: sizeof(ret)];
	return ret;
}

- (of_point_t)pointValue
- (OFPoint)pointValue
{
	of_point_t ret;
	OFPoint ret;
	[self getValue: &ret size: sizeof(ret)];
	return ret;
}

- (of_dimension_t)dimensionValue
{
	of_dimension_t ret;