Tools and libraries to glue C/C++ APIs to high-level languages
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.
|
#if defined(_MSC_VER) |
|
#define DLL_API __declspec(dllexport) |
|
#else |
|
#define DLL_API |
|
#endif |
|
|
|
class DLL_API Foo |
|
{ |
|
public: |
|
|
|
Foo(); |
|
virtual int vfoo(); |
|
virtual int vbar(); |
|
}; |
|
|
|
DLL_API int FooCallFoo(Foo* foo);
|
|
|