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
|
|
@ -561,6 +561,8 @@ type_check:
|
|||
tc = SWIG_TypeCheck(c,ty);
|
||||
if (!tc) goto type_error;
|
||||
*ptr = SWIG_TypeCast(tc,vptr);
|
||||
} else {
|
||||
*ptr = vptr;
|
||||
}
|
||||
|
||||
if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue