Hide signals prefixed by underscore

This commit is contained in:
Raul Santos
2026-01-21 02:21:30 +01:00
parent 78c6632eb1
commit 46436c1278
2 changed files with 9 additions and 0 deletions

View File

@@ -4263,6 +4263,11 @@ bool BindingsGenerator::_populate_object_type_interfaces() {
const MethodInfo &method_info = E.value;
if (method_info.name.begins_with("_")) {
// Signals starting with an underscore are internal and not meant to be exposed.
continue;
}
isignal.name = method_info.name;
isignal.cname = method_info.name;