diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2004-06-29 20:49:31 +0000 |
---|---|---|
committer | Tim Blechmann <timblech@users.sourceforge.net> | 2004-06-29 20:49:31 +0000 |
commit | 0b19477ee90a4c4f6d563dce46c3c2817c8263a8 (patch) | |
tree | 4013e83cd9bfbbf30707282142d39f0605ca60f6 /k_cext.h | |
parent | fccbe2b4b829460a905a675e41119e90da8a4c44 (diff) |
support for $0 values
svn path=/trunk/externals/k_cext/; revision=1839
Diffstat (limited to 'k_cext.h')
-rw-r--r-- | k_cext.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -23,6 +23,7 @@ #include <string.h> #include <math.h> #include <stdbool.h> +#include <ctype.h> #ifdef _MSC_VER typedef int bool; #define true 1 @@ -107,9 +108,11 @@ do{ \ #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]); +t_float k_cext_getvalue(char c[]); +int k_cext_setvalue(char c[],float f); +#define VALUE(char) k_cext_getvalue(char) +#define SETVALUE(char,float) k_cext_setvalue(char,float) #define IF if( |