fix error message

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-11-21 19:43:16 +00:00
commit 9c08af4fc4

View file

@ -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;
}