1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

Don't expose underscored signals

This commit is contained in:
kobewi
2025-11-14 18:52:42 +01:00
parent bd2ca13c6f
commit 54c2eaee4d
2 changed files with 10 additions and 0 deletions

View File

@@ -660,6 +660,10 @@ void DocTools::generate(BitField<GenerateFlags> p_flags) {
if (signal_list.size()) {
for (const MethodInfo &mi : signal_list) {
if (mi.name.is_empty() || mi.name[0] == '_') {
continue; // Hidden, don't count.
}
DocData::MethodDoc signal;
signal.name = mi.name;
for (const PropertyInfo &arginfo : mi.arguments) {