discuss-gnustep
[Top][All Lists]
Advanced

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

Callbacks


From: Philip Mötteli
Subject: Callbacks
Date: Mon, 3 Mar 2003 01:17:13 +0100

Hi


I have the problem, that a framework, that I have to port to Linux/Gnustep, makes use of Apples CoreFoundation library. Actually only one feature of the CoreFoundation is used: Callbacks. Those are all these methods, that are called when we insert an object into a collection object: -retain, -release and -copy. So with CoreFoundation one can define, which method in which case should be called. E. g., the "copy-case" could actually call a -retain instead of the default -copy. Is there any way, to achieve that in Gnustep? Shall we rewrite those classes to be compatible to that behaviour? I mean it's usefull, but it's not object oriented in the case of Apple's CoreFoundation library.



Thanks
Phil





reply via email to

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