Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7274
Modified Files: Tag: desiredata desire.c Log Message: SET macro, part 3; and some cleanup
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.13 retrieving revision 1.1.2.217.2.14 diff -C2 -d -r1.1.2.217.2.13 -r1.1.2.217.2.14 *** desire.c 2 Dec 2006 07:48:28 -0000 1.1.2.217.2.13 --- desire.c 2 Dec 2006 16:20:55 -0000 1.1.2.217.2.14 *************** *** 73,77 ****
#undef SET ! #define SET(attr,value) gobj_changed(x,#attr), x->attr = (value);
#define CLAMP(_var,_min,_max) do { if (_var<_min) _var=_min; else if (_var>_max) _var=_max; } while(0) --- 73,80 ----
#undef SET ! #define SET(attr,value) gobj_changed(x,#attr), x->attr = (value) ! [...1230 lines suppressed...] *** 7428,7432 **** SET(h,max(1,(int)atom_getintarg(0, ac, av))); SET(w,x->h); - iemgui_size(x); }
--- 7364,7367 ---- *************** *** 7701,7705 **** t_pd *pd_new2(int argc, t_atom *argv) { if (argv[0].a_type != A_SYMBOL) {error("pd_new2: start with symbol please"); return 0;} ! pd_typedmess(&pd_objectmaker,argv[0].a_w.w_symbol,argc-1,argv+1); return newest; } --- 7636,7640 ---- t_pd *pd_new2(int argc, t_atom *argv) { if (argv[0].a_type != A_SYMBOL) {error("pd_new2: start with symbol please"); return 0;} ! pd_typedmess(&pd_objectmaker,argv[0].a_symbol,argc-1,argv+1); return newest; }