mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
319 B
35 lines
319 B
#include "VTables.h" |
|
|
|
Foo::Foo() |
|
{ |
|
} |
|
|
|
int Foo::vfoo() |
|
{ |
|
return 5; |
|
} |
|
|
|
int Foo::vbar() |
|
{ |
|
return vfoo(); |
|
} |
|
|
|
int Foo::append() |
|
{ |
|
return 1; |
|
} |
|
|
|
int Foo::append(int a) |
|
{ |
|
return ++a; |
|
} |
|
|
|
int Foo::callVirtualWithParameter(int a) |
|
{ |
|
return append(a); |
|
} |
|
|
|
int FooCallFoo(Foo* foo) |
|
{ |
|
return foo->vfoo() + 2; |
|
}
|
|
|