gnustep-dev
[Top][All Lists]
Advanced

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

Re: RFC: Deprecating class posing


From: David Chisnall
Subject: Re: RFC: Deprecating class posing
Date: Mon, 4 Jan 2010 16:41:26 +0000

On 4 Jan 2010, at 16:34, Nicolas Roard wrote:

afaik the main "client" of poseAs is Camaelon (I used it to swap
images on the fly) -- but considering the progresses on GSTheme it
should be fine to deprecate poseAs.

Camaelon doesn't build with current GNUstep, so I don't think that's a problem. It's worth noting that you can still achieve the equivalent of class posing by simply adding calls in your class's +load method that add the methods to the superclass, so this doesn't involve any semantic limitations. We could even reimplement NSObject's +poseAsClass: to do this.

My current plan is to, in the transitional ABI (which is the one clang currently supports) to make the class symbol public. Then, in the incompatible ABI (which mainly exists in my head now), use them exclusively for class lookups.

David

-- Send from my Jacquard Loom





reply via email to

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