[DGD] function_object

Rog rcuddy at ix.netcom.com
Tue Oct 7 01:31:13 CEST 1997


Greetings.
I have been working on a hook system for a mudlib. The object wishing to
place a hook calls an add_hook function with arguments of itself (the
object) and the function to call. When stepping through the array of
hooks, I would like to detect any objects that no longer exist (and did
not clean up by removing the hook) before doing the call other. Is the
function_object kfun the best way to do this, or can I count on the stored
reference to the object being updated to 0 after the object is gone i.e.
would 
if (!obj) be sure to work.



rog.





List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list