Added string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
293269b03c
commit
ddfd4fd4ed
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
%module default_cast
|
%module default_cast
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
void foo(const char *m = (const char *) NULL) { };
|
void foo(const char *m = (const char *) NULL) { }
|
||||||
|
void bar(const char *m = (const char *) "Hello") { }
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue