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.
25 lines
458 B
25 lines
458 B
|
|
#include "NUnit.h" |
|
|
|
class EXPORT VirtualMethodTestClass { |
|
|
|
virtual void V0 (int a1, int a2, int a3) |
|
{ |
|
NUnit::Assert->AreEqual (1, a1, "V0 #A1"); |
|
NUnit::Assert->AreEqual (2, a2, "V0 #A2"); |
|
NUnit::Assert->AreEqual (3, a3, "V0 #A3"); |
|
} |
|
|
|
}; |
|
|
|
extern "C" { |
|
VirtualMethodTestClass* CreateVirtualMethodTestClass () |
|
{ |
|
return new VirtualMethodTestClass (); |
|
} |
|
|
|
void DestroyVirtualMethodTestClass (VirtualMethodTestClass* vmtc) |
|
{ |
|
delete vmtc; |
|
} |
|
}
|
|
|