discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting to 64Bit -descriptionForInstanceMethod:


From: Andreas Höschler
Subject: Re: Porting to 64Bit -descriptionForInstanceMethod:
Date: Tue, 18 Jun 2019 17:39:30 +0200

Hi David,

On 18 Jun 2019, at 17:34, David Chisnall <gnustep@theravensnest.org> wrote:

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]