Forum Navigation
Object.notifyRegister
Moderators:
kris
Posted: 03/23/07 14:49:32Hi, I see that Object.notifyRegister and notifyUnRegister are currently commented out in Tango. Will they be added in the future or is there a different mechanism to get the same functionality? I've looked into phobos source but it depends on something defined in internal/mars.c, I'd rather not touch that myself. I would like to get my signal-slots working in Tango.
On a related note: is it possible in Tango to retrieve from a the .ptr property of a delegate whether it originates from an Object? It seems that checking with gc.getAttr() if this was allocated by the garbage collector does so, but that depends on all other delegates being stack allocated?
Thanks.