aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/builtins.c
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-06-03 02:15:47 +0000
committerN.N. <matju@users.sourceforge.net>2009-06-03 02:15:47 +0000
commit550aa4e2b25d759135a3e693ab18ec45f02db402 (patch)
treef52ab497082edba9185e0ec68a595a8c3cab5c9f /desiredata/src/builtins.c
parentc03f8cd6bafd0f57171ac04fd8fb28a55c8d05da (diff)
remove reference to "s_stuff.h"
svn path=/trunk/; revision=11640
Diffstat (limited to 'desiredata/src/builtins.c')
-rw-r--r--desiredata/src/builtins.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/desiredata/src/builtins.c b/desiredata/src/builtins.c
index 8ee60324..3f20ba6c 100644
--- a/desiredata/src/builtins.c
+++ b/desiredata/src/builtins.c
@@ -6,7 +6,6 @@
#define PD_PLUSPLUS_FACE
#include "desire.h"
-#include "s_stuff.h"
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>
@@ -1342,7 +1341,7 @@ static void receive_bang( t_receive *x) {
static void receive_float( t_receive *x, t_float v) { x->outlet->send(v);}
static void receive_symbol( t_receive *x, t_symbol *v) { x->outlet->send(v);}
static void receive_pointer( t_receive *x, t_gpointer *v) { x->outlet->send(v);}
-static void receive_list( t_receive *x, t_symbol *s, int argc, t_atom *argv) {x->outlet->send(argc,argv);}
+static void receive_list( t_receive *x, t_symbol *s, int argc, t_atom *argv) {x->outlet->send( argc,argv);}
static void receive_anything(t_receive *x, t_symbol *s, int argc, t_atom *argv) {x->outlet->send(s,argc,argv);}
static void *receive_new(t_symbol *s) {
t_receive *x = (t_receive *)pd_new(receive_class);
@@ -1725,7 +1724,7 @@ static void trigger_anything(t_trigger *x, t_symbol *s, int argc, t_atom *argv)
for (int i = x->n; u--, i--;) {
if (u->type == 'b') u->outlet->send();
else if (u->type == 'a') u->outlet->send(s,argc,argv);
- else error("trigger: can only convert 's' to 'b' or 'a'", s->name);
+ else error("trigger: can only convert 's' to 'b' or 'a'; got %s", s->name);
}
}
static void trigger_bang(t_trigger *x) {trigger_list(x,0,0,0 );}