summaryrefslogtreecommitdiffstats
path: root/include/core/Variant.hpp
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-07-23 17:53:50 +0200
committerKarroffel <therzog@mail.de>2017-07-23 17:53:50 +0200
commit4769f49cb4b9465ec27ff076e1cf97286cd13453 (patch)
tree1da8dbf14f072f634d7fddac70dff25998d60818 /include/core/Variant.hpp
parent606d2624af00d58da1c3dff0e25c55099459a973 (diff)
downloadredot-cpp-4769f49cb4b9465ec27ff076e1cf97286cd13453.tar.gz
Use static linking instead of dynamic linking
Diffstat (limited to 'include/core/Variant.hpp')
-rw-r--r--include/core/Variant.hpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/core/Variant.hpp b/include/core/Variant.hpp
index 05ca4e4..670c5c2 100644
--- a/include/core/Variant.hpp
+++ b/include/core/Variant.hpp
@@ -1,16 +1,6 @@
#ifndef VARIANT_H
#define VARIANT_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_variant.h>
#include "Defs.hpp"
@@ -38,7 +28,7 @@ class Dictionary;
class Array;
-class GD_CPP_CORE_API Variant {
+class Variant {
godot_variant _godot_variant;
public:
enum Type {