Use namespace in defs.hpp

pull/1617/head
Zhehang Ding 2024-10-07 20:51:51 +08:00
parent 6facde3c29
commit 0d5c2e0735
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,8 @@
#include <cstdint>
#include <cstring>
namespace godot {
#if !defined(GDE_EXPORT)
#if defined(_WIN32)
#define GDE_EXPORT __declspec(dllexport)
@ -127,4 +129,6 @@ struct BuildIndexSequence : BuildIndexSequence<N - 1, N - 1, Is...> {};
template <size_t... Is>
struct BuildIndexSequence<0, Is...> : IndexSequence<Is...> {};
} //namespace godot
#endif // GODOT_DEFS_HPP