ObjFW  Diff

Differences From Artifact [77b424abe9]:

To Artifact [7bf06a0039]:


244
245
246
247
248
249
250
251
252


253
254
255
256

257
258
259
260
261
262

263
264
265
266
267

268
269
270
271
272
273
274
244
245
246
247
248
249
250


251
252




253






254


255
256

257
258
259
260
261
262
263
264







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


-
+







	return [[OFDictionary alloc] initWithDictionary: self];
}

- (int)countByEnumeratingWithState: (of_fast_enumeration_state_t*)state
			   objects: (id*)objects
			     count: (int)count_
{
	int i;

	int ret = [super countByEnumeratingWithState: state
					     objects: objects
	for (i = 0; i < count_; i++) {
		for (; state->state < size && (data[state->state] == NULL ||
		    data[state->state] == DELETED); state->state++);

					       count: count_];
		if (state->state < size) {
			objects[i] = data[state->state]->key;
			state->state++;
		} else
			break;
	}


	state->itemsPtr = objects;
	state->mutationsPtr = &mutations;

	return i;
	return ret;
}

- (OFEnumerator*)objectEnumerator
{
	return [[[OFDictionaryObjectEnumerator alloc]
	    initWithDictionary: self
			 data: data