godot-cpp icon indicating copy to clipboard operation
godot-cpp copied to clipboard

Fix for connecting to signals (Enum types treated as GDNativeInt instead of int32_t)

Open KarstenMaxim opened this issue 3 years ago • 0 comments

(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.

KarstenMaxim avatar Feb 16 '22 08:02 KarstenMaxim