diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-09-07 19:39:02 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-07 19:39:57 -0300 |
commit | 828e1c092fa706d4392363435950960261765ba4 (patch) | |
tree | 12fd9dc722ee3c7cb604e44264550de9fd72868b /tools/doc/doc_data.cpp | |
parent | 19bd661a8fdc381bb68018028bf76997cf74b65a (diff) | |
download | redot-engine-828e1c092fa706d4392363435950960261765ba4.tar.gz |
Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C#
Diffstat (limited to 'tools/doc/doc_data.cpp')
-rw-r--r-- | tools/doc/doc_data.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp index 479b99a03d..4a8fdfb215 100644 --- a/tools/doc/doc_data.cpp +++ b/tools/doc/doc_data.cpp @@ -198,6 +198,11 @@ void DocData::generate(bool p_basic_types) { if (method.qualifiers!="") method.qualifiers+=" "; method.qualifiers+="const"; + + } else if (E->get().flags&METHOD_FLAG_VARARG) { + if (method.qualifiers!="") + method.qualifiers+=" "; + method.qualifiers+="vararg"; } for(int i=-1;i<E->get().arguments.size();i++) { |