aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);