diff options
author | Karroffel <therzog@mail.de> | 2017-03-15 23:19:58 +0100 |
---|---|---|
committer | Karroffel <therzog@mail.de> | 2017-03-15 23:19:58 +0100 |
commit | 8d63048c6df08da5f0f88b62b2868c6938c222b7 (patch) | |
tree | c9113e2139838b11d3040469104a153d1f45a4af /include/godot_cpp/core/PoolArrays.hpp | |
parent | bce9ac109d63d67c3e7f0b25df8aa9d72e094d1b (diff) | |
download | redot-cpp-8d63048c6df08da5f0f88b62b2868c6938c222b7.tar.gz |
Windows compatibility
Diffstat (limited to 'include/godot_cpp/core/PoolArrays.hpp')
-rw-r--r-- | include/godot_cpp/core/PoolArrays.hpp | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/include/godot_cpp/core/PoolArrays.hpp b/include/godot_cpp/core/PoolArrays.hpp index e2a51f1..ebbd61d 100644 --- a/include/godot_cpp/core/PoolArrays.hpp +++ b/include/godot_cpp/core/PoolArrays.hpp @@ -1,6 +1,16 @@ #ifndef POOLARRAYS_H #define POOLARRAYS_H +#if defined(_WIN32) +# ifdef _GD_CPP_CORE_API_IMPL +# define GD_CPP_CORE_API __declspec(dllexport) +# else +# define GD_CPP_CORE_API __declspec(dllimport) +# endif +#else +# define GD_CPP_CORE_API +#endif + #include "Defs.hpp" #include "String.hpp" @@ -14,7 +24,7 @@ namespace godot { class Array; -class PoolByteArray { +class GD_CPP_CORE_API PoolByteArray { godot_pool_byte_array _godot_array; public: PoolByteArray(); @@ -45,7 +55,7 @@ public: }; -class PoolIntArray { +class GD_CPP_CORE_API PoolIntArray { godot_pool_int_array _godot_array; public: PoolIntArray(); @@ -76,7 +86,7 @@ public: }; -class PoolRealArray { +class GD_CPP_CORE_API PoolRealArray { godot_pool_real_array _godot_array; public: PoolRealArray(); @@ -107,7 +117,7 @@ public: }; -class PoolStringArray { +class GD_CPP_CORE_API PoolStringArray { godot_pool_string_array _godot_array; public: PoolStringArray(); @@ -139,7 +149,7 @@ public: -class PoolVector2Array { +class GD_CPP_CORE_API PoolVector2Array { godot_pool_vector2_array _godot_array; public: PoolVector2Array(); @@ -170,7 +180,7 @@ public: }; -class PoolVector3Array { +class GD_CPP_CORE_API PoolVector3Array { godot_pool_vector3_array _godot_array; public: PoolVector3Array(); @@ -201,7 +211,7 @@ public: }; -class PoolColorArray { +class GD_CPP_CORE_API PoolColorArray { godot_pool_color_array _godot_array; public: PoolColorArray(); |