aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-02-18 22:50:26 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-02-18 22:50:26 +0000
commitd7d537967e9a179f3169fe03c7c39a241129d0bf (patch)
tree986feddb244aa20312116e9aabdda73527201208
parent6e6d986a386a16284231f40691e4bbb7215f1c21 (diff)
this time for real
svn path=/trunk/externals/zexy/; revision=10798
-rw-r--r--src/unpack.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unpack.c b/src/unpack.c
index 1cae3df..0ec3641 100644
--- a/src/unpack.c
+++ b/src/unpack.c
@@ -80,7 +80,11 @@ void zunpack_setup(void)
zunpack_class = class_new(gensym("zexy/unpack"),
(t_newmethod)zunpack_new, (t_method)zunpack_free, sizeof(t_zunpack),
0, A_GIMME, 0);
+#if 0
+ /* oops Pd-0.42 allows us to override built-ins
+ * this is bad as long as the 2 objects are not compatible */
class_addcreator((t_newmethod)zunpack_new, gensym("unpack"), A_GIMME, 0);
+#endif
class_addbang(zunpack_class, zunpack_bang);
class_addlist(zunpack_class, zunpack_list);