Closed dsnopek closed 4 months ago
Just updated my code that explicitly used the ClassDB functions to use the "new" macros. Working great!
Cherry-picked for 4.1 in PR https://github.com/godotengine/godot-cpp/pull/1491
Cherry-picked for 4.2 in PR https://github.com/godotengine/godot-cpp/pull/1492
Currently, the
GDREGISTER_*_CLASS()
macros assume that user code hasusing namespace godot
. This PR makes the macros explicitly refer to thegodot
namespace, so they can be used even without that.