diff options
author | mescalinum <mescalinum@users.sourceforge.net> | 2011-11-16 11:55:24 +0000 |
---|---|---|
committer | mescalinum <mescalinum@users.sourceforge.net> | 2011-11-16 11:55:24 +0000 |
commit | 431a22dc31640fce5b98963823ff3b11208c4415 (patch) | |
tree | 4aa47f81f0926f46481a68d7e064a4dd8e8dc5b3 | |
parent | 8e465cd366902ca70ad10aad3428c37501f6f772 (diff) |
correctly determine the mangled SWIGTYPE
svn path=/trunk/externals/loaders/tclpd/; revision=15756
-rw-r--r-- | tclpd.i | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ void name_setitem(type *ary, int index, type value) } %typemap(in) t_text * { - int res = SWIG_ConvertPtr($input, &$1, SWIGTYPE_p__text, 0 | 0 ); + int res = SWIG_ConvertPtr($input, &$1, $1_descriptor, 0 | 0 ); if(!SWIG_IsOK(res)) { const char *str = Tcl_GetStringFromObj($input, NULL); t_tcl *x = object_table_get(str); |