gnustep-dev
[Top][All Lists]
Advanced

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

Re: Dynamically added properties problem


From: David Chisnall
Subject: Re: Dynamically added properties problem
Date: Tue, 16 Oct 2012 20:08:41 +0100

On 16 Oct 2012, at 19:59, Luboš Doležel wrote:

> Hi,
> 
> thanks, but that still leaves the problem of broken class_addProperty()
> unsolved.
> 
> This function should allow me to do (pseudocode):
> 
> class_addProperty(someClass, "propertyName", {"V",
> "someVeryDifferentIvarName"}, 1);
> 
> which will currently return NO. I've looked at
> http://svn.gna.org/svn/gnustep/libs/libobjc2/trunk/properties.m
> and nothing has changed to that end.
> 
> The code still assumes that property name == ivar name ("V").

Yes, this is still wrong.  The fix is in progress, but is a little more complex 
than the clang fix.

David


reply via email to

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