gdextension: Object::ConnectFlags
marked as not a bitfield in extension_api.json
#97042
Labels
Object::ConnectFlags
marked as not a bitfield in extension_api.json
#97042
Tested versions
System information
Godot v4.3.stable - Ubuntu 24.04.1 LTS 24.04 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX Vega M GH Graphics (RADV VEGAM) - Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz (8 Threads)
Issue description
In
extension_api.json
,Object::ConnectFlags
is marked as"is_bitfield": false
, however, given that the enum values are powers of two, the default value in e.g.Signal::connect
is 0 (seemingly unset), and that the behaviors associated with each enum variant are seemingly orthogonal, it would seem that this is a bitfield.This seems to have led to issues in C# (#74829) and in Rust gdext (godot-rust/gdext#756).
Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: