load_object.c

nightmare3_fluffos_v2/lib/secure/SimulEfun/load_object.c · 422 B

From the archive nightmare3_fluffos_v2.zip

Download the archive   « Back to the archive contents

/*    /adm/simul_efun/load_object.c
 *    from Nightmare IV
 *    find and object and return it, or load an object and return it
 *    created by Descartes of Borg 940213
 */

#include <security.h>

object load_object(string str) {
    object ob;

    if(!stringp(str)) error("Bad argument 1 to load_object().\n");
    if(ob = find_object(str)) return ob;
    catch(call_other(str, "???"));
    return find_object(str);
}

Site Stats

Snippets: 1791
Codebases: 571