diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-09-25 17:08:48 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-09-25 17:09:27 -0300 |
commit | c5da28f24cbab915098165b13f50bcda049e273e (patch) | |
tree | e3bec4e83d21d67091affb6f9e131a683e20d067 /core/variant.h | |
parent | 0a6446ff361f1674649e1625eb5868478d998091 (diff) | |
download | redot-engine-c5da28f24cbab915098165b13f50bcda049e273e.tar.gz |
Fixed constness of variant functions, as well as visual script sequence ports. Closes #11258
Diffstat (limited to 'core/variant.h')
-rw-r--r-- | core/variant.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant.h b/core/variant.h index 5ea540a63f..e0d0bf05c8 100644 --- a/core/variant.h +++ b/core/variant.h @@ -368,6 +368,7 @@ public: static Vector<Variant> get_method_default_arguments(Variant::Type p_type, const StringName &p_method); static Variant::Type get_method_return_type(Variant::Type p_type, const StringName &p_method, bool *r_has_return = NULL); static Vector<StringName> get_method_argument_names(Variant::Type p_type, const StringName &p_method); + static bool is_method_const(Variant::Type p_type, const StringName &p_method); void set_named(const StringName &p_index, const Variant &p_value, bool *r_valid = NULL); Variant get_named(const StringName &p_index, bool *r_valid = NULL) const; |