aboutsummaryrefslogtreecommitdiff
path: root/cyclone/shadow/cyclone.c
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/shadow/cyclone.c')
-rw-r--r--cyclone/shadow/cyclone.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/cyclone/shadow/cyclone.c b/cyclone/shadow/cyclone.c
index 20d1396..a702074 100644
--- a/cyclone/shadow/cyclone.c
+++ b/cyclone/shadow/cyclone.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2003 krzYszcz and others.
+/* Copyright (c) 2003-2004 krzYszcz and others.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
@@ -122,6 +122,11 @@ void cyclone_setup(void)
loud_errand(0, "without having cyclone library preloaded");
return;
}
+ if (zgetfn(&pd_objectmaker, gensym("cyclone")))
+ {
+ loud_error(0, "cyclone is already loaded");
+ return;
+ }
post("this is cyclone %s, %s %s build",
CYCLONE_VERSION, loud_ordinal(CYCLONE_BUILD), CYCLONE_RELEASE);
cyclone_class = class_new(gensym("cyclone"),