On Jun 21, 2006, at 5:12 PM, Mike Woodworth wrote:


On Jun 21, 2006, at 5:05 PM, Charles Yeomans wrote:


On Jun 21, 2006, at 4:59 PM, Mars Saxman wrote:


On Jun 21, 2006, at 1:58 PM, Charles Yeomans wrote:


On Jun 21, 2006, at 4:46 PM, Mike Woodworth wrote:

this question is mostly for the folks at rb, but i'd appreciate anyone's input. i was under the impression rb's Address Of call only worked with module methods, but i just d/led code from someone who uses it with a class method. is this allowed now? is it officially supported, or is this a case of lucky accident i shouldn't use?

I believe it's not unsupported.

That's a good way to put it.

It's not an accident that you can get the address of an instance method. I'm not sure that there's anything useful you can do with such an address, but if you can think of something, well, have at it.

I think he's talking about shared methods, with which one can do something useful.


no i'm speaking of instance methods... what i end up doing a lot is having many status callbacks from declares which all get sent to a module currently, and it messages the appropriate class instance, with this i should be able to setup the callback to directly call the proper instance.


or think a carbon timer class, that registers the callback to call itself back so i can have something akin to an action event, rather than having one carbon timer module... much cleaner.

Then you should sign on to requests for weak references, which would make this easier to implement.

Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to