diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-10-30 09:26:46 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-10-30 09:26:46 +0000 |
commit | d4b37914b7f2218bd2be75178722bf625e06bb8f (patch) | |
tree | f028a3095d9ecbcdc793224284f4a480742308e9 /src | |
parent | 5e869f7a0cef88be3b03272303a6084b8bd1a7e3 (diff) |
replaced gensym("float") by &s_float
svn path=/trunk/externals/zexy/; revision=8908
Diffstat (limited to 'src')
-rw-r--r-- | src/atoi.c | 2 | ||||
-rw-r--r-- | src/demultiplex.c | 2 | ||||
-rw-r--r-- | src/fifop.c | 2 | ||||
-rw-r--r-- | src/length.c | 2 | ||||
-rw-r--r-- | src/lifop.c | 2 | ||||
-rw-r--r-- | src/lpt.c | 4 | ||||
-rw-r--r-- | src/matchbox.c | 2 | ||||
-rw-r--r-- | src/mavg.c | 4 | ||||
-rw-r--r-- | src/minmax.c | 4 | ||||
-rw-r--r-- | src/multiplex.c | 2 | ||||
-rw-r--r-- | src/regex.c | 2 | ||||
-rw-r--r-- | src/repack.c | 2 | ||||
-rw-r--r-- | src/sort.c | 2 | ||||
-rw-r--r-- | src/sum.c | 2 | ||||
-rw-r--r-- | src/urn.c | 2 | ||||
-rw-r--r-- | src/wrap.c | 2 | ||||
-rw-r--r-- | src/z~.c | 2 |
17 files changed, 20 insertions, 20 deletions
@@ -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; @@ -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)); @@ -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); @@ -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); } @@ -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); } @@ -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); @@ -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); } @@ -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); } |