ConnectFlags::ord()
and connect_ex().flags()
should have a consistent type.
#503
Labels
c: engine
Godot classes (nodes, resources, ...)
quality-of-life
No new functionality, but improves ergonomics/internals
I've been looking at
connect_ex
and noticed a curious thing:Why does
ConnectFlags::ord
returni32
when realistically it should only beu32
?If the Godot team ever decided to use signed integers on an enum (for some reason), we'd have to change the current
.flags(value: u32)
argument type anyway.Feels like an unnecessary conversion that could be possibly dealt away with? 🙂
The text was updated successfully, but these errors were encountered: