ObjFW  Check-in [5fe7a098d5]

Overview
Comment:Adjust type to recent changes in -[OFArray componentsJoinedByString].
Not a problem, but changing it makes it clearer.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5fe7a098d524f95855027d38cbcaddf7107be8ae5133b6328ec4a63f6807e27d
User & Date: js on 2010-11-17 18:27:58
Other Links: manifest | tags
Context
2010-11-17
20:35
Remove now unnecessary safety check from -[componentsJoinedByString]. check-in: e4f8d0a4e9 user: js tags: trunk
18:27
Adjust type to recent changes in -[OFArray componentsJoinedByString].
Not a problem, but changing it makes it clearer.
check-in: 5fe7a098d5 user: js tags: trunk
16:06
Remove strlen in -[appendCStringWithoutUTF8Checking:length:]. check-in: e6c5c90751 user: js tags: trunk
Changes

Modified src/OFArray.m from [a01dde889d] to [3a4355d0c4].

273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
			      toIndex: range.start + range.length];
}

- (OFString*)componentsJoinedByString: (OFString*)separator
{
	OFAutoreleasePool *pool;
	OFString *str;
	OFString **objs = [array cArray];
	size_t i, count = [array count];
	Class cls;
	IMP append;

	if (count == 0)
		return @"";
	if (count == 1)







|







273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
			      toIndex: range.start + range.length];
}

- (OFString*)componentsJoinedByString: (OFString*)separator
{
	OFAutoreleasePool *pool;
	OFString *str;
	OFObject **objs = [array cArray];
	size_t i, count = [array count];
	Class cls;
	IMP append;

	if (count == 0)
		return @"";
	if (count == 1)