aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-10-30 09:26:46 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-10-30 09:26:46 +0000
commitd4b37914b7f2218bd2be75178722bf625e06bb8f (patch)
treef028a3095d9ecbcdc793224284f4a480742308e9
parent5e869f7a0cef88be3b03272303a6084b8bd1a7e3 (diff)
replaced gensym("float") by &s_float
svn path=/trunk/externals/zexy/; revision=8908
-rw-r--r--src/atoi.c2
-rw-r--r--src/demultiplex.c2
-rw-r--r--src/fifop.c2
-rw-r--r--src/length.c2
-rw-r--r--src/lifop.c2
-rw-r--r--src/lpt.c4
-rw-r--r--src/matchbox.c2
-rw-r--r--src/mavg.c4
-rw-r--r--src/minmax.c4
-rw-r--r--src/multiplex.c2
-rw-r--r--src/regex.c2
-rw-r--r--src/repack.c2
-rw-r--r--src/sort.c2
-rw-r--r--src/sum.c2
-rw-r--r--src/urn.c2
-rw-r--r--src/wrap.c2
-rw-r--r--src/z~.c2
17 files changed, 20 insertions, 20 deletions
diff --git a/src/atoi.c b/src/atoi.c
index 2d178a9..09fa74e 100644
--- a/src/atoi.c
+++ b/src/atoi.c
@@ -79,7 +79,7 @@ static void atoi_list(t_atoi *x, t_symbol *s, int argc, t_atom *argv)
static void *atoi_new(void)
{
t_atoi *x = (t_atoi *)pd_new(atoi_class);
- outlet_new(&x->x_obj, gensym("float"));
+ outlet_new(&x->x_obj, &s_float);
return (x);
}
diff --git a/src/demultiplex.c b/src/demultiplex.c
index 9ddf7d5..194e066 100644
--- a/src/demultiplex.c
+++ b/src/demultiplex.c
@@ -89,7 +89,7 @@ static void *demux_new(t_symbol *s, int argc, t_atom *argv)
x->n_out = n - 1;
- inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym("select"));
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym("select"));
x->out = (t_outlet **)getbytes(n * sizeof(t_outlet *));
for (n=0; n<=x->n_out; n++) {
diff --git a/src/fifop.c b/src/fifop.c
index c94cba4..10a8bb5 100644
--- a/src/fifop.c
+++ b/src/fifop.c
@@ -278,7 +278,7 @@ static void *fifop_new(void)
floatinlet_new(&x->x_obj, &x->priority);
x->x_out =outlet_new(&x->x_obj, gensym("list" ));
- x->x_infout=outlet_new(&x->x_obj, gensym("float"));
+ x->x_infout=outlet_new(&x->x_obj, &s_float);
x->fifo_list = 0;
x->priority=0;
diff --git a/src/length.c b/src/length.c
index 80f5abb..f39cbe8 100644
--- a/src/length.c
+++ b/src/length.c
@@ -40,7 +40,7 @@ static void length_any(t_length *x, t_symbol *s, int argc, t_atom *argv)
static void *length_new(void)
{
t_length *x = (t_length *)pd_new(length_class);
- outlet_new(&x->x_obj, gensym("float"));
+ outlet_new(&x->x_obj, &s_float);
return (x);
}
diff --git a/src/lifop.c b/src/lifop.c
index ff9b1cc..3a15832 100644
--- a/src/lifop.c
+++ b/src/lifop.c
@@ -254,7 +254,7 @@ static void *lifop_new(void)
floatinlet_new(&x->x_obj, &x->priority);
x->x_out=outlet_new(&x->x_obj, gensym("list"));
- x->x_infout=outlet_new(&x->x_obj, gensym("float"));
+ x->x_infout=outlet_new(&x->x_obj, &s_float);
x->lifo_list = 0;
x->priority=0;
diff --git a/src/lpt.c b/src/lpt.c
index c2a8b5e..6ca46ad 100644
--- a/src/lpt.c
+++ b/src/lpt.c
@@ -165,8 +165,8 @@ static void *lpt_new(t_symbol *s, int argc, t_atom *argv)
error("lpt: the use of 'lp' has been deprecated; use 'lpt' instead");
- inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym("control"));
- outlet_new(&x->x_obj, gensym("float"));
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym("control"));
+ outlet_new(&x->x_obj, &s_float);
x->mode = MODE_NONE;
x->port = 0;
x->device = -1;
diff --git a/src/matchbox.c b/src/matchbox.c
index 253d6c6..1942248 100644
--- a/src/matchbox.c
+++ b/src/matchbox.c
@@ -625,7 +625,7 @@ static void *matchbox_new(t_symbol *s, int argc, t_atom*argv)
inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("symbol"), gensym("add"));
x->x_outResult =outlet_new(&x->x_obj, gensym("list"));
- x->x_outNumResults=outlet_new(&x->x_obj, gensym("float"));
+ x->x_outNumResults=outlet_new(&x->x_obj, &s_float);
x->x_lists=(t_listlist*)getbytes(sizeof(t_listlist));
diff --git a/src/mavg.c b/src/mavg.c
index f545f1d..7560d65 100644
--- a/src/mavg.c
+++ b/src/mavg.c
@@ -83,8 +83,8 @@ static void *mavg_new(t_floatarg f)
int i = (f<1)?2:f;
t_float *dumbuf;
- outlet_new(&x->x_obj, gensym("float"));
- inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym(""));
+ outlet_new(&x->x_obj, &s_float);
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym(""));
x->buf = x->wp = (t_float *)getbytes(sizeof(t_float) * i);
x->size = i;
diff --git a/src/minmax.c b/src/minmax.c
index 05f7e0d..2aef3e0 100644
--- a/src/minmax.c
+++ b/src/minmax.c
@@ -59,8 +59,8 @@ static void *minmax_new(void)
{
t_minmax *x = (t_minmax *)pd_new(minmax_class);
- x->mino=outlet_new(&x->x_obj, gensym("float"));
- x->maxo=outlet_new(&x->x_obj, gensym("float"));
+ x->mino=outlet_new(&x->x_obj, &s_float);
+ x->maxo=outlet_new(&x->x_obj, &s_float);
x->min = x->max = 0;
diff --git a/src/multiplex.c b/src/multiplex.c
index e9aa0a6..8f65ee6 100644
--- a/src/multiplex.c
+++ b/src/multiplex.c
@@ -79,7 +79,7 @@ static void *mux_new(t_symbol *s, int argc, t_atom *argv)
x->in[n] = inlet_new ((t_object*)x, (t_pd*)x->x_proxy[n], 0,0);
}
- inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym(""));
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym(""));
outlet_new(&x->x_obj, 0);
return (x);
diff --git a/src/regex.c b/src/regex.c
index 75830f6..eb0e3b9 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -270,7 +270,7 @@ static void *regex_new(t_symbol *s, int argc, t_atom*argv)
x->x_outResult=outlet_new(&x->x_obj, 0);
x->x_outDetails=outlet_new(&x->x_obj, gensym("list"));
- x->x_outNumDetails=outlet_new(&x->x_obj, gensym("float"));
+ x->x_outNumDetails=outlet_new(&x->x_obj, &s_float);
#ifdef HAVE_REGEX_H
diff --git a/src/repack.c b/src/repack.c
index 5aff959..826925a 100644
--- a/src/repack.c
+++ b/src/repack.c
@@ -159,7 +159,7 @@ static void *repack_new(t_floatarg f)
x->buffer = (t_atom *)getbytes(x->bufsize * sizeof(t_atom));
- inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym(""));
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym(""));
outlet_new(&x->x_obj, 0);
return (x);
diff --git a/src/sort.c b/src/sort.c
index 16ce34d..2fe067f 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -134,7 +134,7 @@ static void *sort_new(t_floatarg f)
x->bufsize = 0;
x->buffer = NULL;
- inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym("direction"));
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym("direction"));
return (x);
}
diff --git a/src/sum.c b/src/sum.c
index c502fbe..46267de 100644
--- a/src/sum.c
+++ b/src/sum.c
@@ -39,7 +39,7 @@ static void *sum_new(void)
{
t_sum *x = (t_sum *)pd_new(sum_class);
- outlet_new(&x->x_obj, gensym("float"));
+ outlet_new(&x->x_obj, &s_float);
return (x);
}
diff --git a/src/urn.c b/src/urn.c
index f5561c5..3dc4894 100644
--- a/src/urn.c
+++ b/src/urn.c
@@ -114,7 +114,7 @@ static void *urn_new(t_symbol *s, int argc, t_atom *argv)
t_float f=0.;
ZEXY_USEVAR(s);
- inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym(""));
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym(""));
x->x_floatout=outlet_new(&x->x_obj, &s_float);
x->x_bangout =outlet_new(&x->x_obj, &s_bang);
diff --git a/src/wrap.c b/src/wrap.c
index 998ef13..797a27f 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -63,7 +63,7 @@ static void *wrap_new(t_symbol *s, int argc, t_atom*argv)
wrap_set(x, s, argc, argv);
outlet_new(&x->x_obj, &s_float);
- inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym("set"));
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym("set"));
return (x);
}
diff --git a/src/z~.c b/src/z~.c
index 644f5e5..a27db38 100644
--- a/src/z~.c
+++ b/src/z~.c
@@ -101,7 +101,7 @@ static void *zNdelay_new(t_floatarg f)
}
x->phase = 0;
- inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym("ft1"));
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym("ft1"));
outlet_new(&x->x_obj, gensym("signal"));
return (x);
}