ObjFW  Diff

Differences From Artifact [46ae62e754]:

To Artifact [ef22d34f56]:


104
105
106
107
108
109
110
111

112
113
114
115
116
117

118
119
120


121
122
123
124
125
126
127
104
105
106
107
108
109
110

111






112
113


114
115
116
117
118
119
120
121
122







-
+
-
-
-
-
-
-
+

-
-
+
+







}

- initWithArray: (OFArray*)array
{
	return (id)[[OFMutableArray_adjacent alloc] initWithArray: array];
}

- initWithCArray: (id*)objects
- initWithObjects: (id*)objects
{
	return (id)[[OFMutableArray_adjacent alloc] initWithCArray: objects];
}

- initWithCArray: (id*)objects
	  length: (size_t)length
	    count: (size_t)count
{
	return (id)[[OFMutableArray_adjacent alloc] initWithCArray: objects
							    length: length];
	return (id)[[OFMutableArray_adjacent alloc] initWithObjects: objects
							      count: count];
}

- initWithSerialization: (OFXMLElement*)element
{
	return (id)[[OFMutableArray_adjacent alloc]
	    initWithSerialization: element];
}
195
196
197
198
199
200
201







202
203
204
205
206
207
208
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210







+
+
+
+
+
+
+








- (void)replaceObjectAtIndex: (size_t)index
		  withObject: (id)object
{
	@throw [OFNotImplementedException exceptionWithClass: isa
						    selector: _cmd];
}

-    (void)setObject: (id)object
  atIndexedSubscript: (size_t)index
{
	[self replaceObjectAtIndex: index
			withObject: object];
}

- (void)replaceObject: (id)oldObject
	   withObject: (id)newObject
{
	size_t i, count = [self count];

	for (i = 0; i < count; i++) {