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:
parent
f3864ec89f
commit
ecfa570ccb
6 changed files with 349 additions and 2 deletions
|
|
@ -562,6 +562,7 @@ void register_global_constants() {
|
|||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAG_REVERSE);
|
||||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAG_VIRTUAL);
|
||||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAG_FROM_SCRIPT);
|
||||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAG_STATIC);
|
||||
BIND_CORE_ENUM_CONSTANT(METHOD_FLAGS_DEFAULT);
|
||||
|
||||
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_NIL", Variant::NIL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue