From 437f26f3708a8c9f40b6569f18b8f0efb628a1d0 Mon Sep 17 00:00:00 2001 From: "Kjetil S. Matheussen" Date: Mon, 9 Aug 2004 14:19:06 +0000 Subject: Made the SEND macro a bit more convenient to use with the new string handling. The new SEN macro works like the old SEND macro. svn path=/trunk/externals/k_cext/; revision=1929 --- k_cext.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'k_cext.h') diff --git a/k_cext.h b/k_cext.h index e374952..d5cfe9f 100644 --- a/k_cext.h +++ b/k_cext.h @@ -106,7 +106,7 @@ do{ \ if(k_cext_internal_symbol->s_thing) pd_float(k_cext_internal_symbol->s_thing, val); \ }while(0) - +#define SEN(symname,val) SEND(symname,val) #define INTARRAY(name,len) int name[len]={0} #define FLOATARRAY(name,len) t_float name[len]={0.0f} @@ -151,7 +151,9 @@ int k_cext_setvalue(char c[],float f); #define NL "\n" #define SP " " + //#define STRING(a) " " ## a ## " " + //#define gakk system("echo"); typedef int (*k_cext_f_int_callback)(t_k_cext *x,...); typedef float (*k_cext_f_float_callback)(t_k_cext *x,...); -- cgit v1.2.1