more examples, and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f9974297d6
commit
50b87f398b
17 changed files with 123 additions and 28 deletions
|
|
@ -4,7 +4,10 @@
|
|||
%typemap(default) double y "$1=1000;";
|
||||
#endif
|
||||
|
||||
#pragma SWIG nowarn=-302
|
||||
%warnfilter(302) Foo::test;
|
||||
|
||||
|
||||
|
||||
%extend Foo {
|
||||
int test() { return 0; }
|
||||
int test(int x) { x = 0; return 1; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue