Bind vararg method flag in core constants

(cherry picked from commit 1f361b03678893cd6328702383fce6dc062e7e57)
This commit is contained in:
sps1112 2021-03-29 21:29:53 +05:30 committed by Relintai
parent eb1fa27364
commit 8e229841be
2 changed files with 3 additions and 0 deletions

View File

@ -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);

View File

@ -1552,6 +1552,8 @@
<constant name="METHOD_FLAG_FROM_SCRIPT" value="64" enum="MethodFlags">
Deprecated method flag, unused.
</constant>
<constant name="METHOD_FLAG_VARARG" value="128" enum="MethodFlags">
</constant>
<constant name="METHOD_FLAGS_DEFAULT" value="1" enum="MethodFlags">
Default method flags.
</constant>