ObjFW  Check-in [6b0fefe13c]

Overview
Comment:Forgot to change 2 inits.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6b0fefe13c51d72ac699c7acea714e71c95f29c5f29f5448b338e25d1fb82dbb
User & Date: js on 2008-10-30 00:51:49
Other Links: manifest | tags
Context
2008-11-01
14:25
Fix check for sel_get_name / sel_getName. check-in: 371bb890d9 user: js tags: trunk
2008-10-30
00:51
Forgot to change 2 inits. check-in: 6b0fefe13c user: js tags: trunk
00:49
Store initialization parameters of exceptions. check-in: ea3b6ef066 user: js tags: trunk
Changes

Modified src/OFExceptions.m from [2f901d9233] to [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;
}