From ede6ce98470220466edeb92e6bc4927efa7d7fd0 Mon Sep 17 00:00:00 2001 From: sps1112 Date: Mon, 29 Mar 2021 21:29:53 +0530 Subject: [PATCH] Bind vararg method flag in core constants (cherry picked from commit 1f361b03678893cd6328702383fce6dc062e7e57) --- core/global_constants.cpp | 1 + doc/classes/@GlobalScope.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/core/global_constants.cpp b/core/global_constants.cpp index 9346c499d51..56d6ac92afe 100644 --- a/core/global_constants.cpp +++ b/core/global_constants.cpp @@ -634,6 +634,7 @@ void register_global_constants() { BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAG_REVERSE); BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAG_VIRTUAL); BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAG_FROM_SCRIPT); + BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAG_VARARG); BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAGS_DEFAULT); BIND_GLOBAL_ENUM_CONSTANT_CUSTOM("TYPE_NIL", Variant::NIL); diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index d957afbed5f..f95af77cf90 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -1545,6 +1545,8 @@ Deprecated method flag, unused. + + Default method flags.