aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormescalinum <mescalinum@users.sourceforge.net>2011-11-16 11:55:24 +0000
committermescalinum <mescalinum@users.sourceforge.net>2011-11-16 11:55:24 +0000
commit431a22dc31640fce5b98963823ff3b11208c4415 (patch)
tree4aa47f81f0926f46481a68d7e064a4dd8e8dc5b3
parent8e465cd366902ca70ad10aad3428c37501f6f772 (diff)
correctly determine the mangled SWIGTYPE
svn path=/trunk/externals/loaders/tclpd/; revision=15756
-rw-r--r--tclpd.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/tclpd.i b/tclpd.i
index 442787f..a072f5b 100644
--- a/tclpd.i
+++ b/tclpd.i
@@ -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);