aboutsummaryrefslogtreecommitdiff
path: root/k_cext.h
diff options
context:
space:
mode:
Diffstat (limited to 'k_cext.h')
-rw-r--r--k_cext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/k_cext.h b/k_cext.h
index 1b1741a..636d45f 100644
--- a/k_cext.h
+++ b/k_cext.h
@@ -106,6 +106,11 @@ do{ \
#define INTSORT(a,b) qsort((void *)(a),b, sizeof (int), k_cext_intcompare);
#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(
#define FOR for(