ObjFW  Diff

Differences From Artifact [2f901d9233]:

To Artifact [784d18a0a4]:


203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
							 andMode: m];
}

- initWithObject: (id)obj
	 andPath: (const char*)p
	 andMode: (const char*)m
{
	if ((self = [super init])) {
		path = p != NULL ? strdup(p) : NULL;
		mode = m != NULL ? strdup(m) : NULL;
	}

	return self;
}








|







203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
							 andMode: m];
}

- initWithObject: (id)obj
	 andPath: (const char*)p
	 andMode: (const char*)m
{
	if ((self = [super initWithObject: obj])) {
		path = p != NULL ? strdup(p) : NULL;
		mode = m != NULL ? strdup(m) : NULL;
	}

	return self;
}

257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
							  andNItems: nitems];
}

- initWithObject: (id)obj
	 andSize: (size_t)size
       andNItems: (size_t)nitems
{
	if ((self = [super init])) {
		req_size = size;
		req_items = nitems;
	}

	return self;
}








|







257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
							  andNItems: nitems];
}

- initWithObject: (id)obj
	 andSize: (size_t)size
       andNItems: (size_t)nitems
{
	if ((self = [super initWithObject: obj])) {
		req_size = size;
		req_items = nitems;
	}

	return self;
}