summaryrefslogtreecommitdiff
path: root/Lib/typemaps/swigtype.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/typemaps/swigtype.swg')
-rw-r--r--Lib/typemaps/swigtype.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typemaps/swigtype.swg b/Lib/typemaps/swigtype.swg
index f57766962..bd113e278 100644
--- a/Lib/typemaps/swigtype.swg
+++ b/Lib/typemaps/swigtype.swg
@@ -301,7 +301,7 @@
%typemap(typecheck,precedence=SWIG_TYPECHECK_POINTER,noblock=1) SWIGTYPE *const& {
void *vptr = 0;
- int res = SWIG_ConvertPtr($input, &vptr, $descriptor, 0);
+ int res = SWIG_ConvertPtr($input, &vptr, $*descriptor, 0);
$1 = SWIG_CheckState(res);
}