Differences From Artifact [f36c1920e5]:
- File
src/OFObject.m
— part of check-in
[32d092b9ba]
at
2016-07-04 19:36:18
on branch trunk
— Remove check for objc_enumerationMutation
Every supported runtime has it, so there is no point in having it.
(The ObjFW runtime has it and the Apple runtime has it since the one
shipped with OS X 10.5. No earlier Apple runtime is supported anyway.) (user: js, size: 24552) [annotate] [blame] [check-ins using]
To Artifact [a2a40a09cb]:
- File src/OFObject.m — part of check-in [bc64c479a8] at 2016-10-08 15:57:25 on branch trunk — Explicitly cast objc_msgSend (user: js, size: 24592) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
521 522 523 524 525 526 527 | return class_getMethodImplementation(object_getClass(self), selector); } - (id)performSelector: (SEL)selector { #if defined(OF_OBJFW_RUNTIME) id (*imp)(id, SEL) = (id(*)(id, SEL))objc_msg_lookup(self, selector); | < < | > > < < | > > < < | > > | 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 | return class_getMethodImplementation(object_getClass(self), selector); } - (id)performSelector: (SEL)selector { #if defined(OF_OBJFW_RUNTIME) id (*imp)(id, SEL) = (id(*)(id, SEL))objc_msg_lookup(self, selector); #elif defined(OF_APPLE_RUNTIME) id (*imp)(id, SEL) = (id(*)(id, SEL))objc_msgSend; #endif return imp(self, selector); } - (id)performSelector: (SEL)selector withObject: (id)object { #if defined(OF_OBJFW_RUNTIME) id (*imp)(id, SEL, id) = (id(*)(id, SEL, id))objc_msg_lookup(self, selector); #elif defined(OF_APPLE_RUNTIME) id (*imp)(id, SEL, id) = (id(*)(id, SEL, id))objc_msgSend; #endif return imp(self, selector, object); } - (id)performSelector: (SEL)selector withObject: (id)object1 withObject: (id)object2 { #if defined(OF_OBJFW_RUNTIME) id (*imp)(id, SEL, id, id) = (id(*)(id, SEL, id, id))objc_msg_lookup(self, selector); #elif defined(OF_APPLE_RUNTIME) id (*imp)(id, SEL, id, id) = (id(*)(id, SEL, id, id))objc_msgSend; #endif return imp(self, selector, object1, object2); } - (void)performSelector: (SEL)selector afterDelay: (of_time_interval_t)delay { void *pool = objc_autoreleasePoolPush(); |
︙ | ︙ |