fix import + typedefs. see example in imports_b.i

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-29 22:23:19 +00:00
commit 1fd5610c9f
3 changed files with 73 additions and 39 deletions

View file

@ -13,3 +13,19 @@ class B : public A
A::MemberEnum global_test(A::MemberEnum e) { return e; }
struct C : A
{
typedef A a_type;
A* get_a(A* a)
{
return a;
}
a_type* get_a_type(a_type* a)
{
return a;
}
};