From a639a788cbec1c2459197acb2b06bda9b07f94b0 Mon Sep 17 00:00:00 2001 From: Zhehang Ding Date: Mon, 7 Oct 2024 20:51:51 +0800 Subject: [PATCH] Use namespace in defs.hpp --- include/godot_cpp/core/defs.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/godot_cpp/core/defs.hpp b/include/godot_cpp/core/defs.hpp index 16812c2b40..ab6400d3f1 100644 --- a/include/godot_cpp/core/defs.hpp +++ b/include/godot_cpp/core/defs.hpp @@ -35,6 +35,8 @@ #include #include +namespace godot { + #if !defined(GDE_EXPORT) #if defined(_WIN32) #define GDE_EXPORT __declspec(dllexport) @@ -127,4 +129,6 @@ struct BuildIndexSequence : BuildIndexSequence {}; template struct BuildIndexSequence<0, Is...> : IndexSequence {}; +} + #endif // GODOT_DEFS_HPP