Browse Source

Renamed CppSharp_API to DLL_API.

pull/43/head
triton 13 years ago
parent
commit
a5603e3345
  1. 14
      tests/Basic/Basic.h

14
tests/Basic/Basic.h

@ -1,10 +1,10 @@
#if defined(_MSC_VER) #if defined(_MSC_VER)
#define CppSharp_API __declspec(dllexport) #define DLL_API __declspec(dllexport)
#else #else
#define CppSharp_API #define DLL_API
#endif #endif
class CppSharp_API Foo class DLL_API Foo
{ {
public: public:
@ -13,21 +13,21 @@ public:
float B; float B;
}; };
class CppSharp_API Foo2 : public Foo class DLL_API Foo2 : public Foo
{ {
public: public:
int C; int C;
}; };
struct CppSharp_API Bar struct DLL_API Bar
{ {
Bar(); Bar();
int A; int A;
float B; float B;
}; };
struct CppSharp_API Bar2 : public Bar struct DLL_API Bar2 : public Bar
{ {
int C; int C;
}; };
@ -37,7 +37,7 @@ enum Enum
A = 0, B = 2, C = 5 A = 0, B = 2, C = 5
}; };
class CppSharp_API Hello class DLL_API Hello
{ {
public: public:
Hello (); Hello ();

Loading…
Cancel
Save