aboutsummaryrefslogtreecommitdiff
path: root/k_cext.h
diff options
context:
space:
mode:
Diffstat (limited to 'k_cext.h')
-rw-r--r--k_cext.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/k_cext.h b/k_cext.h
index 636d45f..d140823 100644
--- a/k_cext.h
+++ b/k_cext.h
@@ -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(