clonep.3

foundation2_fluffos_v1/lib/doc/driver/efuns/objects/clonep.3 · 818 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"determine whether or not a given variable points to a cloned object
.TH clonep 3 "5 Sep 1994" MudOS "LPC Library Functions"

.SH NAME
clonep() - determine whether or not a given variable points to a cloned object

.SH SYNOPSIS
int clonep( void | mixed arg );

.SH DESCRIPTION
Returns true (1) iff the argument is objectp() and the O_CLONE flag is set.
The driver sets the O_CLONE flag for those objects created via new(3)
(clone_object(3)).  The clonep() efun will not return true when called on
objects that are the master copy (those that are loaded via call_other(3)).
Note that if clonep() returns true, then file_name() will return a string
containing a '#'.  clonep() defaults to this_object().

.SH SEE ALSO
virtualp(3), userp(3), wizardp(3), objectp(3), new(3), clone_object(3),
call_other(3), file_name(3)

Site Stats

Snippets: 1791
Codebases: 571