aboutsummaryrefslogtreecommitdiff
path: root/tcl_extras.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcl_extras.h')
-rw-r--r--tcl_extras.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcl_extras.h b/tcl_extras.h
index 6d52989..9bca803 100644
--- a/tcl_extras.h
+++ b/tcl_extras.h
@@ -12,6 +12,8 @@
#define TCLPD_VERSION "0.2"
+#define InitArray(name, size, value) for(int zz=0; zz<(size); zz++) name[zz]=value
+
typedef struct _t_tcl {
t_object o;
Tcl_Obj* self;