aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-12-23 20:41:06 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-12-23 20:41:06 +0000
commita84adcbb756f5048a9b847898845eb8bbba7dd29 (patch)
tree9c0cab5c07319a6b4c7bd71761b9fdc9ab560521 /src
parent2c7fd68913b585066e3140631162caa8231000d9 (diff)
add generic setup() to hexloaded objects
svn path=/trunk/externals/zexy/; revision=16753
Diffstat (limited to 'src')
-rw-r--r--src/0x260x260x7e.c7
-rw-r--r--src/0x2e.c7
-rw-r--r--src/0x3c0x7e.c7
-rw-r--r--src/0x3d0x3d0x7e.c7
-rw-r--r--src/0x3e0x7e.c7
-rw-r--r--src/0x7c0x7c0x7e.c7
6 files changed, 42 insertions, 0 deletions
diff --git a/src/0x260x260x7e.c b/src/0x260x260x7e.c
index e11e0de..52dccd9 100644
--- a/src/0x260x260x7e.c
+++ b/src/0x260x260x7e.c
@@ -292,3 +292,10 @@ void setup_0x260x260x7e(void)
zexy_register("&&~");
}
+
+#ifndef ZEXY_LIBRARY
+void setup(void)
+{
+ setup_0x260x260x7e();
+}
+#endif
diff --git a/src/0x2e.c b/src/0x2e.c
index e15f720..43b6444 100644
--- a/src/0x2e.c
+++ b/src/0x2e.c
@@ -169,3 +169,10 @@ void setup_0x2e(void)
class_sethelpsymbol(scalmul_scal_class, gensym("scalarmult"));
zexy_register(".");
}
+
+#ifndef ZEXY_LIBRARY
+void setup(void)
+{
+ setup_0x2e();
+}
+#endif
diff --git a/src/0x3c0x7e.c b/src/0x3c0x7e.c
index b8012e1..681bdd9 100644
--- a/src/0x3c0x7e.c
+++ b/src/0x3c0x7e.c
@@ -248,3 +248,10 @@ void setup_0x3c0x7e(void)
class_sethelpsymbol(scalarlt_tilde_class, gensym("zigbinops"));
zexy_register("<~");
}
+
+#ifndef ZEXY_LIBRARY
+void setup(void)
+{
+ setup_0x3c0x7e();
+}
+#endif
diff --git a/src/0x3d0x3d0x7e.c b/src/0x3d0x3d0x7e.c
index 2bf3dbf..8f3b811 100644
--- a/src/0x3d0x3d0x7e.c
+++ b/src/0x3d0x3d0x7e.c
@@ -249,3 +249,10 @@ void setup_0x3d0x3d0x7e(void)
zexy_register("==~");
}
+
+#ifndef ZEXY_LIBRARY
+void setup(void)
+{
+ setup_0x3d0x3d0x7e();
+}
+#endif
diff --git a/src/0x3e0x7e.c b/src/0x3e0x7e.c
index 82c681a..891b748 100644
--- a/src/0x3e0x7e.c
+++ b/src/0x3e0x7e.c
@@ -253,3 +253,10 @@ void setup_0x3e0x7e(void)
zexy_register(">~");
}
+
+#ifndef ZEXY_LIBRARY
+void setup(void)
+{
+ setup_0x3e0x7e();
+}
+#endif
diff --git a/src/0x7c0x7c0x7e.c b/src/0x7c0x7c0x7e.c
index 3588c0f..b61d7b8 100644
--- a/src/0x7c0x7c0x7e.c
+++ b/src/0x7c0x7c0x7e.c
@@ -267,3 +267,10 @@ void setup_0x7c0x7c0x7e(void)
zexy_register("||~");
}
+
+#ifndef ZEXY_LIBRARY
+void setup(void)
+{
+ setup_0x7c0x7c0x7e();
+}
+#endif