|
From: | Doug Warren |
Subject: | Re: getting Class of an Ivar |
Date: | Thu, 4 Jul 2013 06:45:15 -0700 |
This is something that won't work on most versions of OS X either. The new type encoding format was introduced very recently and we haven't adopted it yet because it breaks anything that parses Objective-C type encodings.
David
> _______________________________________________
On 3 Jul 2013, at 15:30, Doug Warren <address@hidden> wrote:
> There's some code I need to port that was written for the Apple Objective-C runtime which basically calls ivar_getTypeEncoding checks that it matchs the format @"foo" and if so calls objc_getClass("foo"). With the GnuStep runtime that is only returning @. Is there any way to get the class of the ivar or how is the encoding determined if we wanted to modify our copy to match Apple's implementation?
>
>
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
-- Sent from my IBM 1620
[Prev in Thread] | Current Thread | [Next in Thread] |