Add static method support to core Variant types

* Properly exposed, including validated and variant call
* Bound static functions in String and Color
* Did not add support for scripting languages, will have to be added manually.
This commit is contained in:
reduz
2021-02-24 10:56:34 -03:00
committed by Juan Linietsky
parent f3864ec89f
commit ecfa570ccb
6 changed files with 349 additions and 2 deletions
+1
View File
@@ -42,6 +42,7 @@ enum MethodFlags {
METHOD_FLAG_VIRTUAL = 32,
METHOD_FLAG_FROM_SCRIPT = 64,
METHOD_FLAG_VARARG = 128,
METHOD_FLAG_STATIC = 256,
METHOD_FLAGS_DEFAULT = METHOD_FLAG_NORMAL,
};