diff options
author | mescalinum <mescalinum@users.sourceforge.net> | 2009-09-12 20:28:39 +0000 |
---|---|---|
committer | mescalinum <mescalinum@users.sourceforge.net> | 2009-09-12 20:28:39 +0000 |
commit | 7b4b78fc1a3ff3847109750a66c981254ac865dc (patch) | |
tree | 8370aa29baba5c084579c590bb615f5cb47d34e5 /tcl_extras.h | |
parent | 1d76e546322b5dff03b37173f96b1e12907ce880 (diff) |
solve the evil memory leak
svn path=/trunk/externals/tclpd/; revision=12319
Diffstat (limited to 'tcl_extras.h')
-rw-r--r-- | tcl_extras.h | 2 |
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; |