git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-09-01 17:54:18 +00:00
parent 812477a1b5
commit bf892ecf11
3 changed files with 15 additions and 0 deletions

View File

@ -285,6 +285,7 @@ C_TEST_CASES += \
ret_by_value \
sizeof_pointer \
sneaky1 \
struct_rename \
typemap_subst \
unions

View File

@ -0,0 +1,3 @@
import struct_rename
b = struct_rename.Bar()

View File

@ -0,0 +1,11 @@
%module struct_rename
%rename(Bar) Foo;
%inline %{
typedef struct {
int x;
} Foo;
%}