aboutsummaryrefslogtreecommitdiff
path: root/editor/doc/doc_data.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry2017-08-29 18:16:03 +0200
committerIgnacio Etcheverry2017-08-29 19:40:28 +0200
commit8bd92a96a40b6d680c2e416f86fae30757766bf3 (patch)
treee09471df325d54a94ce7336f913980a162f3a2e0 /editor/doc/doc_data.cpp
parentddb1ce08c3cf5f9b978566c8196b9f387d3edf9a (diff)
downloadgodot-8bd92a96a40b6d680c2e416f86fae30757766bf3.tar.gz
godot-8bd92a96a40b6d680c2e416f86fae30757766bf3.tar.zst
godot-8bd92a96a40b6d680c2e416f86fae30757766bf3.zip
Diffstat (limited to 'editor/doc/doc_data.cpp')
-rw-r--r--editor/doc/doc_data.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp
index f8bc65c8e..5975e5435 100644
--- a/editor/doc/doc_data.cpp
+++ b/editor/doc/doc_data.cpp
@@ -576,6 +576,12 @@ void DocData::generate(bool p_basic_types) {
MethodDoc md;
md.name = mi.name;
+ if (mi.flags & METHOD_FLAG_VARARG) {
+ if (md.qualifiers != "")
+ md.qualifiers += " ";
+ md.qualifiers += "vararg";
+ }
+
return_doc_from_retinfo(md, mi.return_val);
for (int i = 0; i < mi.arguments.size(); i++) {