diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-09-02 02:13:12 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-02 02:13:12 -0300 |
commit | 89702d545b89a1f07d17fb2bd8e766c91574cd24 (patch) | |
tree | 29613fba90613ed71a1afb97409b7b30966157ab /core/variant.h | |
parent | 65ae4976eb7dfaa472aba7a9931b5beb537fe21a (diff) | |
download | redot-engine-89702d545b89a1f07d17fb2bd8e766c91574cd24.tar.gz |
Basic type constants for visual script
Diffstat (limited to 'core/variant.h')
-rw-r--r-- | core/variant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant.h b/core/variant.h index b8b028a760..90be593bd9 100644 --- a/core/variant.h +++ b/core/variant.h @@ -426,7 +426,7 @@ public: static void get_constructor_list(Variant::Type p_type, List<MethodInfo> *p_list); static void get_numeric_constants_for_type(Variant::Type p_type, List<StringName> *p_constants); static bool has_numeric_constant(Variant::Type p_type, const StringName& p_value); - static int get_numeric_constant_value(Variant::Type p_type, const StringName& p_value); + static int get_numeric_constant_value(Variant::Type p_type, const StringName& p_value,bool *r_valid=NULL); typedef String (*ObjectDeConstruct)(const Variant& p_object,void *ud); typedef void (*ObjectConstruct)(const String& p_text,void *ud,Variant& r_value); |