|
LPC Library Functions: clonep |
|
NAMEclonep() - determine whether or not a given variable points to a cloned object
SYNOPSISint clonep( void | mixed arg );
DESCRIPTIONReturns true if and only if the argument is objectp() and the O_CLONE flag is set. The driver sets the O_CLONE flag for those objects created via new() or clone_object(). The clonep() efun will not return true when called on objects that are the blueprint copy; blueprint copies are usually created when call_other() or load_object() is called against a specific object for the first time. Note that if clonep() returns true, then file_name() will return a string containing a '#'. clonep() called without any arguments defaults to this_object().
SEE ALSOvirtualp(), userp(), wizardp(), objectp(), new(), clone_object(), call_other(), file_name() |
|
Page design by Frank Jacquette & Tim Hollebeek Copyright (C) 1998 Tim Hollebeek & Frank Jacquette |
|