[PD-cvs] externals/k_cext k_cext.h,1.1,1.2
Tim Blechmann
timblech at users.sourceforge.net
Sun Jun 20 16:39:53 CEST 2004
Update of /cvsroot/pure-data/externals/k_cext
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1655
Modified Files:
k_cext.h
Log Message:
added macros to bang outlet and to access values
Index: k_cext.h
===================================================================
RCS file: /cvsroot/pure-data/externals/k_cext/k_cext.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** k_cext.h 8 Jan 2004 14:55:24 -0000 1.1
--- k_cext.h 20 Jun 2004 14:39:51 -0000 1.2
***************
*** 107,110 ****
--- 107,115 ----
#define FLOATSORT(a,b) qsort((void *)(a),b, sizeof (float), k_cext_floatcompare);
+ /* TB: values and bang outlets */
+ #define VALUE(char) (*(value_get(gensym(char))))
+ #define SETVALUE(char,float) value_setfloat(gensym(char),float)
+ #define Ob(a) outlet_bang(x->outlets[a]);
+
#define IF if(
More information about the Pd-cvs
mailing list