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



_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to