add '= 0' to avoid warnings in icc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c1683603c1
commit
c69f576ccb
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
}
|
||||
%typemap(freearg) void * "";
|
||||
|
||||
%typemap(in,noblock=1) void * const& ($*ltype temp, int res) {
|
||||
%typemap(in,noblock=1) void * const& ($*ltype temp = 0, int res) {
|
||||
res = SWIG_ConvertPtr($input, %as_voidptrptr(&temp), 0, $disown);
|
||||
if (!SWIG_IsOK(res)) {
|
||||
%argument_fail(res, "Stype", $symname, $argnum);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue