godot-cpp
godot-cpp copied to clipboard
Fix for connecting to signals (Enum types treated as GDNativeInt instead of int32_t)
(Duplicated PR of #689 'cause of branch removal)
Method that returns enum values as result corrupting memory 'cause Error enum is treated as GDNativeInt instead on int32_t (actual enum size). Changed method generation to prevent this.