fix default varin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
52be4e8eea
commit
425ce98b1d
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@
|
||||||
if (SWIG_ConvertPtr($input, (void **) &$1, $1_descriptor,0) < 0) {
|
if (SWIG_ConvertPtr($input, (void **) &$1, $1_descriptor,0) < 0) {
|
||||||
croak("Type error in argument $argnum of $symname. Expected $1_mangle");
|
croak("Type error in argument $argnum of $symname. Expected $1_mangle");
|
||||||
}
|
}
|
||||||
$1 = *($1_ltype) temp;
|
$1 = ($1_ltype) temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
%typemap(varin) SWIGTYPE [ANY] {
|
%typemap(varin) SWIGTYPE [ANY] {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue