Update of /cvsroot/pure-data/externals/zexy/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27334
Modified Files:
0x260x260x7e.c 0x2e.c 0x3c0x7e.c 0x3d0x3d0x7e.c 0x3e0x7e.c
0x7c0x7c0x7e.c absgn~.c abs~.c atoi.c date.c demultiplex.c
demultiplex~.c drip.c fifop.c glue.c index.c length.c lifop.c
limiter~.c list2int.c list2symbol.c lister.c lpt.c
makesymbol.c mavg.c minmax.c msgfile.c multiline~.c
multiplex.c multiplex~.c operating_system.c quantize~.c
regex.c relay.c repack.c repeat.c sfplay.c sgn~.c sigzero~.c
sort.c strcmp.c sum.c symbol2list.c tabdump.c tabminmax.c
tabset.c time.c unpack~.c urn.c wrap.c zexy.h
Log Message:
use unused variables
Index: time.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/time.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** time.c 25 Jan 2006 16:27:08 -0000 1.4
--- time.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 64,68 ****
t_time *x = (t_time *)pd_new(time_class);
char buf[5];
!
x->GMT=0;
if (argc) {
--- 64,69 ----
t_time *x = (t_time *)pd_new(time_class);
char buf[5];
! ZEXY_USEVAR(s);
!
x->GMT=0;
if (argc) {
***************
*** 104,107 ****
--- 105,109 ----
static void help_time(t_time *x)
{
+ ZEXY_USEVAR(x);
post("\n%c time\t\t:: get the current system time", HEARTSYMBOL);
post("\noutputs are\t: hour / minute / sec / msec");
Index: msgfile.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/msgfile.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** msgfile.c 25 Jan 2006 16:27:08 -0000 1.9
--- msgfile.c 5 Apr 2006 11:27:26 -0000 1.10
***************
*** 285,288 ****
--- 285,289 ----
static void msgfile_delete(t_msgfile *x, t_symbol *s, int ac, t_atom *av)
{
+ ZEXY_USEVAR(s);
if (ac==1) {
int pos = atom_getfloat(av);
***************
*** 310,313 ****
--- 311,315 ----
static void msgfile_add(t_msgfile *x, t_symbol *s, int ac, t_atom *av)
{
+ ZEXY_USEVAR(s);
msgfile_end(x);
add_currentnode(x);
***************
*** 316,319 ****
--- 318,322 ----
static void msgfile_add2(t_msgfile *x, t_symbol *s, int ac, t_atom *av)
{
+ ZEXY_USEVAR(s);
msgfile_end(x);
if (x->current->previous) x->current = x->current->previous;
***************
*** 323,326 ****
--- 326,330 ----
static void msgfile_append(t_msgfile *x, t_symbol *s, int ac, t_atom *av)
{
+ ZEXY_USEVAR(s);
add_currentnode(x);
write_currentnode(x, ac, av);
***************
*** 334,337 ****
--- 338,342 ----
{
t_msglist *cur = x->current;
+ ZEXY_USEVAR(s);
insert_currentnode(x);
write_currentnode(x, ac, av);
***************
*** 341,344 ****
--- 346,350 ----
{
t_msglist *cur = x->current;
+ ZEXY_USEVAR(s);
if ((x->current) && (x->current->previous)) x->current = x->current->previous;
write_currentnode(x, ac, av);
***************
*** 354,357 ****
--- 360,364 ----
static void msgfile_replace(t_msgfile *x, t_symbol *s, int ac, t_atom *av)
{
+ ZEXY_USEVAR(s);
freebytes(x->current->thislist, sizeof(x->current->thislist));
x->current->thislist = 0;
***************
*** 427,430 ****
--- 434,438 ----
t_msglist *found = 0;
t_msglist *cur=x->current;
+ ZEXY_USEVAR(s);
while (cur) {
***************
*** 693,696 ****
--- 701,705 ----
static void msgfile_help(t_msgfile *x)
{
+ ZEXY_USEVAR(x);
post("\n%c msgfile\t:: handle and store files of lists", HEARTSYMBOL);
post("goto <n>\t: goto line <n>"
***************
*** 733,736 ****
--- 742,746 ----
{
t_msgfile *x = (t_msgfile *)pd_new(msgfile_class);
+ ZEXY_USEVAR(s);
/* an empty node indicates the end of our listbuffer */
Index: zexy.h
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/zexy.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** zexy.h 25 Jan 2006 09:04:03 -0000 1.17
--- zexy.h 5 Apr 2006 11:27:26 -0000 1.18
***************
*** 88,91 ****
--- 88,93 ----
#endif /* APPLE */
+ #define ZEXY_USEVAR(x) x=x
+
typedef struct _mypdlist
{
***************
*** 108,112 ****
}
#else
! static void zexy_register(char*object){}
#endif /* ZEXY_LIBRARY */
--- 110,114 ----
}
#else
! static void zexy_register(char*object){object=0;}
#endif /* ZEXY_LIBRARY */
Index: tabset.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/tabset.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tabset.c 25 Jan 2006 16:27:08 -0000 1.4
--- tabset.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 51,54 ****
--- 51,55 ----
int npoints;
t_float *vec;
+ ZEXY_USEVAR(s);
if (!(A = (t_garray *)pd_findbyclass(x->x_arrayname, garray_class)))
Index: wrap.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/wrap.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** wrap.c 25 Jan 2006 16:27:08 -0000 1.5
--- wrap.c 5 Apr 2006 11:27:26 -0000 1.6
***************
*** 40,43 ****
--- 40,44 ----
static void wrap_set(t_wrap *x, t_symbol *s, int argc, t_atom *argv){
t_float f1, f2;
+ ZEXY_USEVAR(s);
switch (argc){
case 0:
Index: tabdump.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/tabdump.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tabdump.c 25 Jan 2006 16:27:08 -0000 1.4
--- tabdump.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 64,67 ****
--- 64,68 ----
{
int a,b;
+ ZEXY_USEVAR(s);
switch(argc){
case 2:
Index: unpack~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/unpack~.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** unpack~.c 25 Jan 2006 16:27:08 -0000 1.4
--- unpack~.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 48,51 ****
--- 48,52 ----
t_atom *ap = argv;
int i;
+ ZEXY_USEVAR(s);
for (i = 0, ap = argv; i < argc; ap++, i++) {
Index: operating_system.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/operating_system.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** operating_system.c 25 Jan 2006 16:27:08 -0000 1.4
--- operating_system.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 49,53 ****
}
! static void *operating_system_new(t_floatarg f)
{
t_operating_system *x = (t_operating_system *)pd_new(operating_system_class);
--- 49,53 ----
}
! static void *operating_system_new()
{
t_operating_system *x = (t_operating_system *)pd_new(operating_system_class);
***************
*** 59,63 ****
{
operating_system_class = class_new(gensym("operating_system"), (t_newmethod)operating_system_new,
! 0, sizeof(t_operating_system), 0, A_DEFFLOAT, 0);
class_addbang (operating_system_class, operating_system_bang);
--- 59,63 ----
{
operating_system_class = class_new(gensym("operating_system"), (t_newmethod)operating_system_new,
! 0, sizeof(t_operating_system), 0, A_NULL);
class_addbang (operating_system_class, operating_system_bang);
Index: demultiplex~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/demultiplex~.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** demultiplex~.c 25 Jan 2006 16:27:08 -0000 1.3
--- demultiplex~.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 90,93 ****
--- 90,95 ----
t_demux *x = (t_demux *)pd_new(demux_class);
int i;
+ ZEXY_USEVAR(s);
+ ZEXY_USEVAR(argv);
if (!argc)argc=2;
Index: sum.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/sum.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** sum.c 25 Jan 2006 16:27:08 -0000 1.3
--- sum.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 29,32 ****
--- 29,33 ----
{
t_float sum = 0.f;
+ ZEXY_USEVAR(s);
while(argc--)sum+=atom_getfloat(argv++);
Index: list2int.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/list2int.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** list2int.c 25 Jan 2006 16:27:08 -0000 1.3
--- list2int.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 57,60 ****
--- 57,62 ----
x->x_n = 0;
x->x_list = 0;
+
+ list2int_any(x, s, argc, argv);
return (x);
}
Index: multiplex~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/multiplex~.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** multiplex~.c 25 Jan 2006 16:27:08 -0000 1.3
--- multiplex~.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 81,84 ****
--- 81,86 ----
t_mux *x = (t_mux *)pd_new(mux_class);
int i;
+ ZEXY_USEVAR(s);
+ ZEXY_USEVAR(argv);
if (!argc)argc=2;
Index: tabminmax.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/tabminmax.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tabminmax.c 25 Jan 2006 16:27:08 -0000 1.4
--- tabminmax.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 86,89 ****
--- 86,90 ----
{
int a,b;
+ ZEXY_USEVAR(s);
switch(argc){
case 2:
Index: index.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/index.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** index.c 25 Jan 2006 16:27:08 -0000 1.14
--- index.c 5 Apr 2006 11:27:26 -0000 1.15
***************
*** 171,174 ****
--- 171,175 ----
{
int index=-1;
+ ZEXY_USEVAR(s);
if(argc!=1){
error("index :: delete what ?");
***************
*** 292,295 ****
--- 293,298 ----
int maxentries = 0, automod=0;
+ ZEXY_USEVAR(s);
+
if (argc--) {
maxentries = (int)atom_getfloat(argv++);
***************
*** 323,326 ****
--- 326,330 ----
static void index_helper(t_index *x)
{
+ ZEXY_USEVAR(x);
post("\n%c index :: index symbols to indices", HEARTSYMBOL);
post("<symbol> : look up the <symbol> in the index and return it's index\n"
Index: lpt.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/lpt.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** lpt.c 25 Jan 2006 16:27:08 -0000 1.12
--- lpt.c 5 Apr 2006 11:27:26 -0000 1.13
***************
*** 283,286 ****
--- 283,287 ----
static void lpt_helper(t_lpt *x)
{
+ ZEXY_USEVAR(x);
post("\n%c lpt :: direct access to the parallel port", HEARTSYMBOL);
post("<byte>\t: write byte to the parallel-port");
Index: multiplex.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/multiplex.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** multiplex.c 25 Jan 2006 16:27:08 -0000 1.5
--- multiplex.c 5 Apr 2006 11:27:26 -0000 1.6
***************
*** 65,68 ****
--- 65,70 ----
t_mux *x = (t_mux *)pd_new(mux_class);
// t_muxproxy *y=(t_muxproxy*)pd_new(muxproxy_class);
+ ZEXY_USEVAR(s);
+ ZEXY_USEVAR(argv);
x->i_selected=0;
Index: regex.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/regex.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** regex.c 25 Jan 2006 16:27:08 -0000 1.4
--- regex.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 114,117 ****
--- 114,118 ----
static void regex_regex(t_regex *x, t_symbol*s, int argc, t_atom*argv)
{
+ ZEXY_USEVAR(s);
#ifdef HAVE_REGEX_H
char*result=0;
***************
*** 146,149 ****
--- 147,151 ----
static void regex_symbol(t_regex *x, t_symbol *s, int argc, t_atom*argv)
{
+ ZEXY_USEVAR(s);
#ifdef HAVE_REGEX_H
char*teststring=0;
***************
*** 205,208 ****
--- 207,211 ----
{
t_regex *x = (t_regex *)pd_new(regex_class);
+ ZEXY_USEVAR(s);
outlet_new(&x->x_obj, 0);
Index: lister.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/lister.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** lister.c 25 Jan 2006 16:27:08 -0000 1.5
--- lister.c 5 Apr 2006 11:27:26 -0000 1.6
***************
*** 29,32 ****
--- 29,33 ----
static void mypdlist_secondlist(t_mypdlist *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (argc) {
if (x->x_n != argc) {
***************
*** 40,43 ****
--- 41,45 ----
static void mypdlist_list(t_mypdlist *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (x->x_n != argc) {
freebytes(x->x_list, x->x_n * sizeof(t_atom));
***************
*** 57,60 ****
--- 59,63 ----
{
t_mypdlist *x = (t_mypdlist *)pd_new(mypdlist_class);
+ ZEXY_USEVAR(s);
outlet_new(&x->x_obj, 0);
Index: symbol2list.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/symbol2list.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** symbol2list.c 25 Jan 2006 16:27:08 -0000 1.5
--- symbol2list.c 5 Apr 2006 11:27:26 -0000 1.6
***************
*** 137,140 ****
--- 137,141 ----
{
t_symbol2list *x = (t_symbol2list *)pd_new(symbol2list_class);
+ ZEXY_USEVAR(s);
outlet_new(&x->x_obj, 0);
***************
*** 151,154 ****
--- 152,156 ----
static void symbol2list_free(t_symbol2list *x)
{
+ ZEXY_USEVAR(x);
}
Index: fifop.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/fifop.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** fifop.c 25 Jan 2006 16:27:08 -0000 1.11
--- fifop.c 5 Apr 2006 11:27:26 -0000 1.12
***************
*** 150,153 ****
--- 150,154 ----
{
t_fifop_prioritylist*pfifo=0;
+ ZEXY_USEVAR(s);
if(!(pfifo=fifop_genprioritylist(x, x->priority))) {
error("[fifop]: couldn't get priority fifo");
***************
*** 235,239 ****
}
! static void *fifop_new(t_symbol *s, int argc, t_atom *argv)
{
t_fifop *x = (t_fifop *)pd_new(fifop_class);
--- 236,240 ----
}
! static void *fifop_new(void)
{
t_fifop *x = (t_fifop *)pd_new(fifop_class);
***************
*** 252,256 ****
{
fifop_class = class_new(gensym("fifop"), (t_newmethod)fifop_new,
! (t_method)fifop_free, sizeof(t_fifop), 0, A_GIMME, 0);
class_addbang (fifop_class, fifop_bang);
--- 253,257 ----
{
fifop_class = class_new(gensym("fifop"), (t_newmethod)fifop_new,
! (t_method)fifop_free, sizeof(t_fifop), 0, A_NULL);
class_addbang (fifop_class, fifop_bang);
Index: 0x7c0x7c0x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x7c0x7c0x7e.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** 0x7c0x7c0x7e.c 25 Jan 2006 16:27:08 -0000 1.4
--- 0x7c0x7c0x7e.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 41,44 ****
--- 41,45 ----
static void *oror_tilde_new(t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (argc > 1) post("||~: extra arguments ignored");
if (argc)
***************
*** 202,205 ****
--- 203,208 ----
int n=sp[0]->s_n;
+ ZEXY_USEVAR(x);
+
#ifdef __SSE__
if(
Index: atoi.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/atoi.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** atoi.c 25 Jan 2006 16:27:08 -0000 1.3
--- atoi.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 57,60 ****
--- 57,61 ----
int base=10;
const char* c;
+ ZEXY_USEVAR(s);
if (argv->a_type==A_FLOAT){
Index: list2symbol.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/list2symbol.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** list2symbol.c 25 Jan 2006 16:27:08 -0000 1.7
--- list2symbol.c 5 Apr 2006 11:27:26 -0000 1.8
***************
*** 122,125 ****
--- 122,126 ----
static void list2symbol_list(t_list2symbol *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
list2symbol_anything(x, 0, argc, argv);
}
***************
*** 127,130 ****
--- 128,132 ----
{
t_list2symbol *x = (t_list2symbol *)pd_new(list2symbol_class);
+ ZEXY_USEVAR(s);
outlet_new(&x->x_obj, 0);
***************
*** 137,141 ****
static void list2symbol_free(t_list2symbol *x)
! {}
--- 139,145 ----
static void list2symbol_free(t_list2symbol *x)
! {
! ZEXY_USEVAR(x);
! }
Index: minmax.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/minmax.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** minmax.c 26 Mar 2006 19:14:25 -0000 1.4
--- minmax.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 38,41 ****
--- 38,42 ----
static void minmax_list(t_minmax *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if(argc){
t_float min = atom_getfloat(argv++);
Index: quantize~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/quantize~.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** quantize~.c 25 Jan 2006 16:27:08 -0000 1.4
--- quantize~.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 76,79 ****
--- 76,80 ----
static void quantize_tilde_helper(t_quantize *x)
{
+ ZEXY_USEVAR(x);
post("%c quantize~-object\t:: used for quantizing signals by various degrees", HEARTSYMBOL);
post("<quants> : quantize a signal into <quants> steps ('0' turns quantizing off)\n"
Index: glue.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/glue.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** glue.c 25 Jan 2006 16:27:08 -0000 1.4
--- glue.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 38,41 ****
--- 38,42 ----
static void glue_lst2(t_glue *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
x->changed = 1;
if (x->n2 != argc) {
***************
*** 48,51 ****
--- 49,53 ----
static void glue_lst(t_glue *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (x->n != x->n2+argc) {
freebytes(x->ap, x->n * sizeof(t_atom));
***************
*** 90,93 ****
--- 92,96 ----
{
t_glue *x = (t_glue *)pd_new(glue_class);
+ ZEXY_USEVAR(s);
inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("list"), gensym(""));
Index: length.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/length.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** length.c 25 Jan 2006 16:27:08 -0000 1.5
--- length.c 5 Apr 2006 11:27:26 -0000 1.6
***************
*** 28,35 ****
--- 28,39 ----
static void length_list(t_length *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
+ ZEXY_USEVAR(argv);
outlet_float(x->x_obj.ob_outlet, (t_float)argc);
}
static void length_any(t_length *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
+ ZEXY_USEVAR(argv);
outlet_float(x->x_obj.ob_outlet, (t_float)argc+1);
}
Index: 0x3d0x3d0x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x3d0x3d0x7e.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** 0x3d0x3d0x7e.c 25 Jan 2006 16:27:07 -0000 1.4
--- 0x3d0x3d0x7e.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 41,44 ****
--- 41,45 ----
static void *eq_tilde_new(t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (argc > 1) post("==~: extra arguments ignored");
if (argc)
***************
*** 186,189 ****
--- 187,192 ----
int n=sp[0]->s_n;
+ ZEXY_USEVAR(x);
+
#ifdef __SSE__
if(
Index: sigzero~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/sigzero~.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** sigzero~.c 25 Jan 2006 16:27:08 -0000 1.4
--- sigzero~.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 37,46 ****
}
! static void sigzero_banged(t_sigzero *x, t_floatarg activate)
{
x->activate = 1;
}
! static void sigzero_off(t_sigzero *x, t_floatarg activate)
{
x->activate = 0;
--- 37,46 ----
}
! static void sigzero_banged(t_sigzero *x)
{
x->activate = 1;
}
! static void sigzero_off(t_sigzero *x)
{
x->activate = 0;
***************
*** 88,96 ****
}
! static void *sigzero_new(t_symbol s)
{
! t_sigzero *x = (t_sigzero *)pd_new(sigzero_class);
! outlet_new(&x->x_obj, &s_float);
! return (x);
}
--- 88,96 ----
}
! static void *sigzero_new()
{
! t_sigzero *x = (t_sigzero *)pd_new(sigzero_class);
! outlet_new(&x->x_obj, &s_float);
! return (x);
}
Index: sort.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/sort.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** sort.c 25 Jan 2006 16:27:08 -0000 1.5
--- sort.c 5 Apr 2006 11:27:26 -0000 1.6
***************
*** 80,83 ****
--- 80,84 ----
int i, loops = 1;
+ ZEXY_USEVAR(s);
sort_buffer(x, argc, argv);
Index: 0x3e0x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x3e0x7e.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** 0x3e0x7e.c 25 Jan 2006 16:27:08 -0000 1.3
--- 0x3e0x7e.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 43,46 ****
--- 43,47 ----
static void *gt_tilde_new(t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (argc > 1) post(">~: extra arguments ignored");
if (argc)
***************
*** 188,191 ****
--- 189,194 ----
int n=sp[0]->s_n;
+ ZEXY_USEVAR(x);
+
#ifdef __SSE__
if(
Index: repeat.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/repeat.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** repeat.c 25 Jan 2006 16:27:08 -0000 1.4
--- repeat.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 44,47 ****
--- 44,48 ----
{
t_repeat *x = (t_repeat *)pd_new(repeat_class);
+ ZEXY_USEVAR(s);
if(argc){
if(A_FLOAT==argv->a_type)
Index: abs~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/abs~.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** abs~.c 25 Jan 2006 16:27:08 -0000 1.2
--- abs~.c 5 Apr 2006 11:27:26 -0000 1.3
***************
*** 120,123 ****
--- 120,124 ----
static void sigABS_dsp(t_abs *x, t_signal **sp)
{
+ ZEXY_USEVAR(x);
#ifdef __SSE__
if(
Index: date.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/date.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** date.c 25 Jan 2006 16:27:08 -0000 1.4
--- date.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 67,71 ****
t_date *x = (t_date *)pd_new(date_class);
char buf[5];
!
x->GMT=0;
if (argc) {
--- 67,72 ----
t_date *x = (t_date *)pd_new(date_class);
char buf[5];
! ZEXY_USEVAR(s);
!
x->GMT=0;
if (argc) {
***************
*** 107,110 ****
--- 108,112 ----
static void help_date(t_date *x)
{
+ ZEXY_USEVAR(x);
post("\n%c date\t\t:: get the current system date", HEARTSYMBOL);
post("\noutputs are\t: year / month / day / day of week /day of year / daylightsaving (1/0)");
Index: relay.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/relay.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** relay.c 25 Jan 2006 16:27:08 -0000 1.3
--- relay.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 150,153 ****
--- 150,154 ----
t_relay *x = (t_relay *)pd_new(relay_class);
t_atom a;
+ ZEXY_USEVAR(s);
if (argc == 0)
{
Index: lifop.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/lifop.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** lifop.c 25 Jan 2006 16:27:08 -0000 1.9
--- lifop.c 5 Apr 2006 11:27:26 -0000 1.10
***************
*** 134,137 ****
--- 134,138 ----
{
t_lifop_prioritylist*plifo=0;
+ ZEXY_USEVAR(s);
if(!(plifo=lifop_genprioritylist(x, x->priority))) {
error("[lifop]: couldn't get priority lifo");
***************
*** 217,221 ****
}
! static void *lifop_new(t_symbol *s, int argc, t_atom *argv)
{
t_lifop *x = (t_lifop *)pd_new(lifop_class);
--- 218,222 ----
}
! static void *lifop_new(void)
{
t_lifop *x = (t_lifop *)pd_new(lifop_class);
***************
*** 235,239 ****
{
lifop_class = class_new(gensym("lifop"), (t_newmethod)lifop_new,
! (t_method)lifop_free, sizeof(t_lifop), 0, A_GIMME, 0);
class_addbang (lifop_class, lifop_bang);
--- 236,240 ----
{
lifop_class = class_new(gensym("lifop"), (t_newmethod)lifop_new,
! (t_method)lifop_free, sizeof(t_lifop), 0, A_NULL);
class_addbang (lifop_class, lifop_bang);
Index: repack.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/repack.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** repack.c 25 Jan 2006 16:27:08 -0000 1.3
--- repack.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 118,121 ****
--- 118,122 ----
int remain = x->outputsize - x->current;
t_atom *ap = argv;
+ ZEXY_USEVAR(s);
if (argc >= remain) {
Index: demultiplex.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/demultiplex.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** demultiplex.c 25 Jan 2006 16:27:08 -0000 1.3
--- demultiplex.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 85,88 ****
--- 85,90 ----
t_demux *x = (t_demux *)pd_new(demux_class);
int n = (argc < 2)?2:argc;
+ ZEXY_USEVAR(s);
+ ZEXY_USEVAR(argv);
x->n_out = n - 1;
Index: urn.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/urn.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** urn.c 25 Jan 2006 16:27:08 -0000 1.3
--- urn.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 112,117 ****
{
t_urn *x = (t_urn *)pd_new(urn_class);
-
t_float f=0.;
inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym(""));
--- 112,117 ----
{
t_urn *x = (t_urn *)pd_new(urn_class);
t_float f=0.;
+ ZEXY_USEVAR(s);
inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("float"), gensym(""));
Index: drip.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/drip.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** drip.c 25 Jan 2006 16:27:08 -0000 1.3
--- drip.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 110,113 ****
--- 110,114 ----
static void drip_list(t_drip *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (x->flush && x->current) { /* do we want to flush */
drip_all(x, x->bufsize - (x->current - x->buffer), x->current);
***************
*** 172,175 ****
--- 173,177 ----
{
t_drip *x = (t_drip *)pd_new(drip_class);
+ ZEXY_USEVAR(s);
if (argc>1) x->flush = 1;
Index: 0x260x260x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x260x260x7e.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** 0x260x260x7e.c 25 Jan 2006 16:27:07 -0000 1.3
--- 0x260x260x7e.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 43,46 ****
--- 43,47 ----
static void *andand_tilde_new(t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (argc > 1) post("&&~: extra arguments ignored");
if (argc)
***************
*** 241,244 ****
--- 242,247 ----
else
dsp_add(andand_tilde_perf8, 4, in1, in2, out, n);
+
+ ZEXY_USEVAR(x);
}
Index: sgn~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/sgn~.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** sgn~.c 25 Jan 2006 16:27:08 -0000 1.4
--- sgn~.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 112,115 ****
--- 112,116 ----
static void sgnTilde_dsp(t_sgnTilde *x, t_signal **sp)
{
+ ZEXY_USEVAR(x);
#ifdef __SSE__
if(
Index: limiter~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/limiter~.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** limiter~.c 25 Jan 2006 16:27:08 -0000 1.5
--- limiter~.c 5 Apr 2006 11:27:26 -0000 1.6
***************
*** 598,601 ****
--- 598,602 ----
{
t_limiter *x = (t_limiter *)pd_new(limiter_class);
+ ZEXY_USEVAR(s);
int i = 0;
Index: makesymbol.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/makesymbol.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** makesymbol.c 25 Jan 2006 16:27:08 -0000 1.7
--- makesymbol.c 5 Apr 2006 11:27:26 -0000 1.8
***************
*** 81,84 ****
--- 81,85 ----
static void makesymbol_list(t_makesymbol *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
x->x_sym = list2symbol(x->mask, argc, argv);
outlet_symbol(x->x_obj.ob_outlet, x->x_sym);
***************
*** 94,97 ****
--- 95,99 ----
{
t_makesymbol *x = (t_makesymbol *)pd_new(makesymbol_class);
+ ZEXY_USEVAR(s);
x->buf = (char *)getbytes(MAXSTRINGLENG * sizeof(char));
***************
*** 121,124 ****
--- 123,127 ----
static void makesymbol_helper(t_makesymbol *x)
{
+ ZEXY_USEVAR(x);
post("\n%c makesymbol :: create a formatted symbol", HEARTSYMBOL);
post("<list of anything>\t: glue up to 10 list-elements to 1 formatted symbol\n"
Index: sfplay.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/sfplay.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** sfplay.c 25 Jan 2006 16:27:08 -0000 1.7
--- sfplay.c 5 Apr 2006 11:27:26 -0000 1.8
***************
*** 138,141 ****
--- 138,142 ----
static void sfplay_helper(t_sfplay *x)
{
+ ZEXY_USEVAR(x);
post("\nsfplay :: a soundfile-player (c) winfried ritsch 1999");
post("\ncreation :: sfplay <channels> <bytes> : channels set the number of channels, bytes skip fileheader");
Index: 0x3c0x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x3c0x7e.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** 0x3c0x7e.c 25 Jan 2006 16:27:07 -0000 1.4
--- 0x3c0x7e.c 5 Apr 2006 11:27:26 -0000 1.5
***************
*** 44,47 ****
--- 44,48 ----
static void *lt_tilde_new(t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (argc > 1) post("<~: extra arguments ignored");
if (argc)
***************
*** 187,191 ****
int n=sp[0]->s_n;
!
#ifdef __SSE__
if(
--- 188,192 ----
int n=sp[0]->s_n;
! ZEXY_USEVAR(x);
#ifdef __SSE__
if(
Index: mavg.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/mavg.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** mavg.c 25 Jan 2006 16:27:08 -0000 1.3
--- mavg.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 55,58 ****
--- 55,59 ----
t_float *dummy = x->buf;
t_float f=(argc)?atom_getfloat(argv):x->avg;
+ ZEXY_USEVAR(s);
while (i--) *dummy++=f;
Index: multiline~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/multiline~.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** multiline~.c 25 Jan 2006 16:27:08 -0000 1.3
--- multiline~.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 62,65 ****
--- 62,66 ----
static void mline_list(t_mline *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
if (argc>x->sigNUM)x->time=atom_getfloat(argv+argc-1);
***************
*** 199,202 ****
--- 200,204 ----
t_mline *x = (t_mline *)pd_new(mline_class);
int i;
+ ZEXY_USEVAR(s);
if (!argc) {
Index: absgn~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/absgn~.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** absgn~.c 25 Jan 2006 16:27:08 -0000 1.3
--- absgn~.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 89,92 ****
--- 89,93 ----
static void sigABSGN_dsp(t_absgn *x, t_signal **sp)
{
+ ZEXY_USEVAR(x);
#ifdef __SSE__
if(
Index: strcmp.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/strcmp.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** strcmp.c 10 Feb 2006 15:10:36 -0000 1.5
--- strcmp.c 5 Apr 2006 11:27:26 -0000 1.6
***************
*** 83,86 ****
--- 83,87 ----
static void strcmp_list(t_strcmp *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
list2binbuf(&x->bbuf1, &x->n1, &x->str1, argc, argv);
strcmp_bang(x);
***************
*** 96,99 ****
--- 97,101 ----
static void strcmp_secondlist(t_strcmp *x, t_symbol *s, int argc, t_atom *argv)
{
+ ZEXY_USEVAR(s);
list2binbuf(&x->bbuf2, &x->n2, &x->str2, argc, argv);
}
***************
*** 117,120 ****
--- 119,123 ----
{
t_strcmp *x = (t_strcmp *)pd_new(strcmp_class);
+ ZEXY_USEVAR(s);
x->x_proxy=(t_strcmp_proxy*)pd_new(strcmp_proxy_class);
Index: 0x2e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x2e.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** 0x2e.c 25 Jan 2006 16:27:07 -0000 1.3
--- 0x2e.c 5 Apr 2006 11:27:26 -0000 1.4
***************
*** 40,43 ****
--- 40,44 ----
{
t_float *fp;
+ ZEXY_USEVAR(s);
if (x->n2 != argc) {
freebytes(x->buf2, x->n2 * sizeof(t_float));
***************
*** 54,57 ****
--- 55,59 ----
t_atom *ap;
int n;
+ ZEXY_USEVAR(s);
if (argc){
***************
*** 123,127 ****
{
t_scalmul *x;
!
if (argc-1){
x = (t_scalmul *)pd_new(scalmul_class);
--- 125,129 ----
{
t_scalmul *x;
! ZEXY_USEVAR(s);
if (argc-1){
x = (t_scalmul *)pd_new(scalmul_class);