From 691dabc423f0ac541038484ff69a2ec871c121d9 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 17 Apr 2004 17:45:29 +0000 Subject: importing ints svn path=/trunk/externals/miXed/; revision=1608 --- cyclone/hammer/Append.c | 2 +- cyclone/hammer/Makefile.sources | 1 + cyclone/hammer/allhammers.c | 4 +++- cyclone/hammer/anal.c | 2 +- cyclone/hammer/coll.c | 2 +- cyclone/hammer/prepend.c | 2 +- cyclone/hammer/seq.c | 2 +- cyclone/hammer/urn.c | 2 +- cyclone/hammer/zl.c | 2 +- 9 files changed, 11 insertions(+), 8 deletions(-) (limited to 'cyclone/hammer') diff --git a/cyclone/hammer/Append.c b/cyclone/hammer/Append.c index 19978c7..0cdea60 100644 --- a/cyclone/hammer/Append.c +++ b/cyclone/hammer/Append.c @@ -141,7 +141,7 @@ static void append_set(t_append *x, t_symbol *s, int ac, t_atom *av) { if (x->x_auxbuf) { - loud_warning((t_pd *)x, "\'set\' message overridden"); + loud_warning((t_pd *)x, 0, "\'set\' message overridden"); freebytes(x->x_auxbuf, x->x_auxsize * sizeof(*x->x_auxbuf)); x->x_auxsize = 0; } diff --git a/cyclone/hammer/Makefile.sources b/cyclone/hammer/Makefile.sources index 74bda2c..89d9b2d 100644 --- a/cyclone/hammer/Makefile.sources +++ b/cyclone/hammer/Makefile.sources @@ -64,6 +64,7 @@ sprintf.c \ substitute.c \ sustain.c \ switch.c \ +Table.c \ tanh.c \ thresh.c \ TogEdge.c \ diff --git a/cyclone/hammer/allhammers.c b/cyclone/hammer/allhammers.c index 7a28cc8..7cdf1e2 100644 --- a/cyclone/hammer/allhammers.c +++ b/cyclone/hammer/allhammers.c @@ -1,6 +1,6 @@ // Do not edit this file, run "make" instead. -/* Copyright (c) 2002-2003 krzYszcz and others. +/* Copyright (c) 2002-2004 krzYszcz and others. * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ @@ -12,6 +12,7 @@ void Decode_setup(void); void Histo_setup(void); void MouseState_setup(void); void Peak_setup(void); +void Table_setup(void); void TogEdge_setup(void); void Trough_setup(void); void Uzi_setup(void); @@ -91,6 +92,7 @@ void allhammers_setup(void) Histo_setup(); MouseState_setup(); Peak_setup(); + Table_setup(); TogEdge_setup(); Trough_setup(); Uzi_setup(); diff --git a/cyclone/hammer/anal.c b/cyclone/hammer/anal.c index 477eb20..374fa17 100644 --- a/cyclone/hammer/anal.c +++ b/cyclone/hammer/anal.c @@ -76,7 +76,7 @@ static void *anal_new(t_floatarg f) else if (size > ANAL_MAXSIZE) { /* CHECKED: */ - loud_warning(&anal_class, "size too large, using %d", ANAL_MAXSIZE); + loud_warning(&anal_class, 0, "size too large, using %d", ANAL_MAXSIZE); size = ANAL_MAXSIZE; /* LATER switch into a 'sparse' mode */ } /* CHECKED: actually the bytesize is size * size * sizeof(short), diff --git a/cyclone/hammer/coll.c b/cyclone/hammer/coll.c index 5308341..53003fd 100644 --- a/cyclone/hammer/coll.c +++ b/cyclone/hammer/coll.c @@ -602,7 +602,7 @@ static void collcommon_doread(t_collcommon *cc, t_symbol *fn, t_canvas *cv) sys_bashfilename(buf, fname); if (!(fp = fopen(fname, "r"))) { - loud_warning(&coll_class, "no coll file '%s'", fname); + loud_warning(&coll_class, 0, "no coll file '%s'", fname); return; } fclose(fp); diff --git a/cyclone/hammer/prepend.c b/cyclone/hammer/prepend.c index 567bb73..052c8d6 100644 --- a/cyclone/hammer/prepend.c +++ b/cyclone/hammer/prepend.c @@ -185,7 +185,7 @@ static void prepend_set(t_prepend *x, t_symbol *s, int ac, t_atom *av) { if (x->x_auxbuf) { - loud_warning((t_pd *)x, "'set' message overridden"); + loud_warning((t_pd *)x, 0, "'set' message overridden"); freebytes(x->x_auxbuf, x->x_auxsize * sizeof(*x->x_auxbuf)); x->x_auxsize = 0; } diff --git a/cyclone/hammer/seq.c b/cyclone/hammer/seq.c index 011c97d..edeff88 100644 --- a/cyclone/hammer/seq.c +++ b/cyclone/hammer/seq.c @@ -932,7 +932,7 @@ static void *seq_new(t_symbol *s) static int warned = 0; if (!warned) { - loud_warning((t_pd *)x, "seq is not ready yet"); + loud_warning((t_pd *)x, 0, "seq is not ready yet"); warned = 1; } x->x_canvas = canvas_getcurrent(); diff --git a/cyclone/hammer/urn.c b/cyclone/hammer/urn.c index 37aaae0..d6983a2 100644 --- a/cyclone/hammer/urn.c +++ b/cyclone/hammer/urn.c @@ -50,7 +50,7 @@ static int urn_resize(t_urn *x, t_float f, int init) } if (range > URN_MAXSIZE) { - loud_warning((t_pd *)x, + loud_warning((t_pd *)x, 0, "requested size (%d) clipped -- effective size is %d", range, URN_MAXSIZE); range = URN_MAXSIZE; diff --git a/cyclone/hammer/zl.c b/cyclone/hammer/zl.c index 1c4c7a5..994eef9 100644 --- a/cyclone/hammer/zl.c +++ b/cyclone/hammer/zl.c @@ -260,7 +260,7 @@ static int zl_nop_count(t_zl *x) static void zl_nop(t_zl *x, int natoms, t_atom *buf, int banged) { - loud_warning((t_pd *)x, "unknown mode"); + loud_warning((t_pd *)x, 0, "unknown mode"); } static int zl_ecils_intarg(t_zl *x, int i) -- cgit v1.2.1