adding more cases and suppressing the 470 warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7dc8d04a20
commit
1f92be9a3d
8 changed files with 36 additions and 15 deletions
|
|
@ -1,4 +1,5 @@
|
|||
%module(directors="1",dirprot="1") director_nested
|
||||
#pragma SWIG nowarn=470
|
||||
|
||||
%{
|
||||
#include <string>
|
||||
|
|
@ -65,6 +66,11 @@
|
|||
{
|
||||
return "FooBar::get_name";
|
||||
}
|
||||
|
||||
const char *name()
|
||||
{
|
||||
return get_name();
|
||||
}
|
||||
|
||||
static FooBar *get_self(FooBar *a)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue