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.
17 lines
344 B
17 lines
344 B
#if defined(_MSC_VER) |
|
#define DLL_API __declspec(dllexport) |
|
#else |
|
#define DLL_API |
|
#endif |
|
|
|
class DLL_API Foo |
|
{ |
|
public: |
|
const char* Unicode; |
|
|
|
// TODO: move this, it has nothing to do with Unicode, it's here only not to break the CLI branch |
|
int operator[](int i) const; |
|
int operator[](int i); |
|
}; |
|
|
|
DLL_API int FooCallFoo(Foo* foo);
|
|
|