mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Don't expose underscored signals
This commit is contained in:
parent
bd2ca13c6f
commit
54c2eaee4d
2 changed files with 10 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue