Fix for Sun Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
586c6d0b07
commit
8b3c711129
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
%module ignore_parameter
|
||||
|
||||
%typemap(in,numinputs=0) char* a "static char* hi = \"hello\"; $1 = hi;";
|
||||
%typemap(in,numinputs=0) char* a "static const char* hi = \"hello\"; $1 = const_cast<char *>(hi);";
|
||||
%typemap(in,numinputs=0) int bb "$1 = 101;";
|
||||
%typemap(in,numinputs=0) double ccc "$1 = 8.8;";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue