From 9c08af4fc4f6fa85bf5115827305c1d30ef2c63f Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sun, 21 Nov 2004 19:43:16 +0000 Subject: [PATCH] fix error message git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6764 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pyswigtype.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/python/pyswigtype.swg b/Lib/python/pyswigtype.swg index c007de169..8582c033e 100644 --- a/Lib/python/pyswigtype.swg +++ b/Lib/python/pyswigtype.swg @@ -43,7 +43,7 @@ /* Pointer to a class member */ %typemap(in) SWIGTYPE (CLASS::*) { if ((SWIG_ConvertPacked($input,(void *)(&$1),sizeof($type),$descriptor,0)) == -1) { - SWIG_type_error("$basetype",$input); + SWIG_type_error("$type",$input); } if (SWIG_arg_fail($argnum)) SWIG_fail; }