ObjFW  Check-in [57dd60897f]

Overview
Comment:Remove a useless #ifdef in OFObject.m.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 57dd60897f2792ad64ef3eb0710613092d400ab29ce1c05c9e20d168bec46b55
User & Date: js on 2010-11-16 00:50:10
Other Links: manifest | tags
Context
2010-11-17
12:59
Always return the description in -[componentsJoinedByString]. check-in: eeb744ac25 user: js tags: trunk
2010-11-16
00:50
Remove a useless #ifdef in OFObject.m. check-in: 57dd60897f user: js tags: trunk
00:49
objfw-compile uses rpath now. check-in: 56838a4124 user: js tags: trunk
Changes

Modified src/OFObject.m from [5ec7131f1a] to [4cf881420b].

394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
394
395
396
397
398
399
400



401

402
403
404
405
406
407
408







-
-
-

-







- (Class)class
{
	return isa;
}

- (OFString*)className
{
#ifdef OF_GNU_RUNTIME
	return [OFString stringWithCString: object_get_class_name(self)];
#else
	return [OFString stringWithCString: class_getName(isa)];
#endif
}

- (BOOL)isKindOfClass: (Class)class
{
	Class iter;

	for (iter = isa; iter != Nil; iter = class_getSuperclass(iter))