Use static linking instead of dynamic linking
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user