discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Porting to 64Bit -descriptionForInstanceMethod:


From: David Chisnall
Subject: Re: Porting to 64Bit -descriptionForInstanceMethod:
Date: Tue, 18 Jun 2019 16:34:20 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 18/06/2019 16:20, Andreas Höschler 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?

David



reply via email to

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