gnustep-dev
[Top][All Lists]
Advanced

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

Re: getting Class of an Ivar


From: David Chisnall
Subject: Re: getting Class of an Ivar
Date: Wed, 3 Jul 2013 15:39:12 +0100

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




reply via email to

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