new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
812477a1b5
commit
bf892ecf11
3 changed files with 15 additions and 0 deletions
11
Examples/test-suite/struct_rename.i
Normal file
11
Examples/test-suite/struct_rename.i
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
%module struct_rename
|
||||
|
||||
%rename(Bar) Foo;
|
||||
|
||||
%inline %{
|
||||
typedef struct {
|
||||
int x;
|
||||
} Foo;
|
||||
|
||||
%}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue