diff options
| author | Karroffel <therzog@mail.de> | 2017-07-23 17:53:50 +0200 |
|---|---|---|
| committer | Karroffel <therzog@mail.de> | 2017-07-23 17:53:50 +0200 |
| commit | 4769f49cb4b9465ec27ff076e1cf97286cd13453 (patch) | |
| tree | 1da8dbf14f072f634d7fddac70dff25998d60818 /include/core/String.hpp | |
| parent | 606d2624af00d58da1c3dff0e25c55099459a973 (diff) | |
| download | redot-cpp-4769f49cb4b9465ec27ff076e1cf97286cd13453.tar.gz | |
Use static linking instead of dynamic linking
Diffstat (limited to 'include/core/String.hpp')
| -rw-r--r-- | include/core/String.hpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/core/String.hpp b/include/core/String.hpp index ee6532e..0b4e4fb 100644 --- a/include/core/String.hpp +++ b/include/core/String.hpp @@ -1,23 +1,13 @@ #ifndef STRING_H #define STRING_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 <godot/godot_string.h> namespace godot { class NodePath; -class GD_CPP_CORE_API String +class String { godot_string _godot_string; public: |
