aboutsummaryrefslogtreecommitdiff
path: root/pd/src/m_obj.c
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2007-01-20 04:06:07 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2007-01-20 04:06:07 +0000
commit9303c7e113a5527d58b814c7bb11db5dbdfba5a4 (patch)
tree68b35be6c79d927fd0ec2d1a7e14b877489cb3f0 /pd/src/m_obj.c
parentc234ece0a90103013734b32193dbf558615bede9 (diff)
improve error reporting for lists to inlets, and replace __BYTE_ORDER by
BYTE_ORDER to fix compile failure on Mac. svn path=/trunk/; revision=7367
Diffstat (limited to 'pd/src/m_obj.c')
-rw-r--r--pd/src/m_obj.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pd/src/m_obj.c b/pd/src/m_obj.c
index ff2ff249..f5c91cdf 100644
--- a/pd/src/m_obj.c
+++ b/pd/src/m_obj.c
@@ -250,14 +250,17 @@ void obj_init(void)
pointerinlet_class = class_new(gensym("inlet"), 0, 0,
sizeof(t_inlet), CLASS_PD, 0);
class_addpointer(pointerinlet_class, pointerinlet_pointer);
-
+ class_addanything(pointerinlet_class, inlet_wrong);
+
floatinlet_class = class_new(gensym("inlet"), 0, 0,
sizeof(t_inlet), CLASS_PD, 0);
class_addfloat(floatinlet_class, (t_method)floatinlet_float);
+ class_addanything(floatinlet_class, inlet_wrong);
symbolinlet_class = class_new(gensym("inlet"), 0, 0,
sizeof(t_inlet), CLASS_PD, 0);
class_addsymbol(symbolinlet_class, symbolinlet_symbol);
+ class_addanything(symbolinlet_class, inlet_wrong);
}