fix gcc warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
894c87db11
commit
7926873f69
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ nocppval
|
|||
|
||||
%insert("header") {
|
||||
%define_as(SWIG_as_voidptr(a), %const_cast(%static_cast(a,const void *), void *))
|
||||
%define_as(SWIG_as_voidptrptr(a), (%as_voidptr(*a),%reinterpret_cast(a, void**)))
|
||||
%define_as(SWIG_as_voidptrptr(a), ((void)%as_voidptr(*a),%reinterpret_cast(a, void**)))
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue