fixes for void*
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
76970ce637
commit
e14b6980f7
2 changed files with 3 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
%typemap(in) const void *& ($*ltype temp) {
|
||||
%typemap(in) void * const& ($*ltype temp) {
|
||||
SWIG_ConvertPtr($input,(void **)&temp,0,SWIG_POINTER_EXCEPTION|$disown);
|
||||
if (SWIG_arg_fail($argnum)) SWIG_fail;
|
||||
$1 = &temp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue