diff options
author | reduz <reduzio@gmail.com> | 2021-02-24 10:56:34 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2021-03-16 10:53:05 -0300 |
commit | ecfa570ccbcd6735bd42b09ac947ee57c57077ce (patch) | |
tree | 86bce22d30429ffea3c8dc0b1c4cb9ddd87546b3 /core/object/method_bind.h | |
parent | f3864ec89f337ad1454a7112ba47896f2524ba9b (diff) |
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.
Diffstat (limited to 'core/object/method_bind.h')
-rw-r--r-- | core/object/method_bind.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/method_bind.h b/core/object/method_bind.h index 7cf4f8d4e8..7030ae201b 100644 --- a/core/object/method_bind.h +++ b/core/object/method_bind.h @@ -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, }; |