Skip to content

Commit

Permalink
Use namespace in defs.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
zhehangd committed Oct 7, 2024
1 parent 6facde3 commit a639a78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/godot_cpp/core/defs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include <cstdint>
#include <cstring>

namespace godot {

#if !defined(GDE_EXPORT)
#if defined(_WIN32)
#define GDE_EXPORT __declspec(dllexport)
Expand Down Expand Up @@ -127,4 +129,6 @@ struct BuildIndexSequence : BuildIndexSequence<N - 1, N - 1, Is...> {};
template <size_t... Is>
struct BuildIndexSequence<0, Is...> : IndexSequence<Is...> {};

}

#endif // GODOT_DEFS_HPP

0 comments on commit a639a78

Please sign in to comment.