new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b52f5f03e5
commit
d4eb6ecd44
1 changed files with 18 additions and 0 deletions
18
SWIG/Examples/test-suite/namespace_typedef_class.i
Normal file
18
SWIG/Examples/test-suite/namespace_typedef_class.i
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
%module namespace_typedef_class
|
||||
|
||||
%inline %{
|
||||
namespace ns {
|
||||
|
||||
struct S1
|
||||
{
|
||||
int n;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int n;
|
||||
} S2;
|
||||
}
|
||||
|
||||
%}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue