inherit/unique.c
// This function returns the replica of this_object() if any.
This function returns the replica of this_object() if any.
This function returns the replica of this_object () if any .
object create_replica()
{
    string replica;
    object obj;
    seteuid(getuid());
    if (stringp(replica = this_object()->query("replica_ob")))
        obj = new (replica);
    else
        obj = 0;
    destruct(this_object());
    return obj;
}
object create_replica ( ) { string replica ; object obj ; seteuid ( getuid ( ) ) ; if ( stringp ( replica = this_object ( ) -> query ( " " ) ) ) obj = new ( replica ) ; else obj = 0 ; destruct ( this_object ( ) ) ; return obj ; }
This function returns the replica of this_object() if any.
This function returns the replica of this_object () if any .