Overview
| Comment: | Fix a typo. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
5613f7fc46eb196a3abb20219d35dfe4 |
| User & Date: | js on 2011-07-30 17:43:24 |
| Other Links: | manifest | tags |
Context
|
2011-07-30
| ||
| 23:14 | +[addClassMethod:withTypeEncoding:implementation:] to OFObject. (check-in: 6083048589 user: js tags: trunk) | |
| 17:43 | Fix a typo. (check-in: 5613f7fc46 user: js tags: trunk) | |
| 02:14 | Improve +[inheritInstanceMethodsFromClass:]. (check-in: cace873874 user: js tags: trunk) | |
Changes
Modified src/OFObject.m from [e21e0eaee6] to [103c38cd6a].
| ︙ | ︙ | |||
454 455 456 457 458 459 460 |
+ (BOOL)addInstanceMethod: (SEL)selector
withTypeEncoding: (const char*)typeEncoding
implementation: (IMP)implementation
{
#if defined(OF_APPLE_RUNTIME) || defined(OF_GNU_RUNTIME)
return class_addMethod(self, selector, implementation, typeEncoding);
#elif defined(OF_OLD_GNU_RUNTIME)
| | | 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 |
+ (BOOL)addInstanceMethod: (SEL)selector
withTypeEncoding: (const char*)typeEncoding
implementation: (IMP)implementation
{
#if defined(OF_APPLE_RUNTIME) || defined(OF_GNU_RUNTIME)
return class_addMethod(self, selector, implementation, typeEncoding);
#elif defined(OF_OLD_GNU_RUNTIME)
@throw [OFNotImplementedException newWithClass: self
selector: _cmd];
#endif
}
+ (void)inheritInstanceMethodsFromClass: (Class)class
{
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
|
| ︙ | ︙ |