adding support for structs, docu

This commit is contained in:
Frank Schlimbach 2019-02-28 02:48:05 -06:00 committed by Olly Betts
commit 4ce2964ab8
2 changed files with 7 additions and 6 deletions

View file

@ -6,17 +6,15 @@
%inline %{
namespace interface1
{
class A
struct A
{
public:
int get(int) {return 10;}
};
}
using interface1::A;
class B : public A
struct B : public A
{
public:
using A::get;
int get(double) {return 20;}
};