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:
parent
492c58c659
commit
9c08af4fc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue