GODOT_GENERATED_GLOBAL

Usage

GODOT_CLASS();
class Example : Node {
    GODOT_GENERATED_BODY();
};
GODOT_GENERATED_GLOBAL(); // <-- Insert outside the class body

This hook macro is used to inject generated code within the global namespace for all classes within this file.