ObjFW  Diff

Differences From Artifact [2c1ad7f305]:

To Artifact [a991103c76]:


82
83
84
85
86
87
88
89
90
91
92
93

94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
82
83
84
85
86
87
88





89













90
91
92
93
94
95
96







-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-







- (instancetype)initWithObjects: (id const *)objects
			  count: (size_t)count
{
	return (id)[[OFConcreteArray alloc] initWithObjects: objects
						      count: count];
}

- (instancetype)retain
{
	return self;
}

OF_SINGLETON_METHODS
- (instancetype)autorelease
{
	return self;
}

- (void)release
{
}

- (void)dealloc
{
	OF_DEALLOC_UNSUPPORTED
}
@end

@implementation OFArray
+ (void)initialize
{
	if (self == [OFArray class])
		object_setClass((id)&placeholder, [OFPlaceholderArray class]);