Hi David,
I wonder why I haven’t found that. Thanks! struct objc_method_description methodDesc = protocol_getMethodDescription(_protocol, aSelector, YES, YES); types = methodDesc.types; This works great as long as I build with -m32. But as soon as I switch to
This function is in the Apple headers, so the only explanation I can think of is that you're failing to #include <objc/runtime.h> in the 64-bit case. You may be implicitly including it via some other header that has a conditional include based on pointer size?
Bumahh! :-( That was it!
Thanks so much! Works now!
Andreas
|