mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Merge pull request #62814 from KoBeWi/strint
Restore numeric from String constructors
This commit is contained in:
commit
cfb9cae23a
4 changed files with 74 additions and 0 deletions
|
@ -68,11 +68,13 @@ void Variant::_register_variant_constructors() {
|
|||
add_constructor<VariantConstructor<int64_t, int64_t>>(sarray("from"));
|
||||
add_constructor<VariantConstructor<int64_t, double>>(sarray("from"));
|
||||
add_constructor<VariantConstructor<int64_t, bool>>(sarray("from"));
|
||||
add_constructor<VariantConstructorFromString<int64_t>>(sarray("from"));
|
||||
|
||||
add_constructor<VariantConstructNoArgs<double>>(sarray());
|
||||
add_constructor<VariantConstructor<double, double>>(sarray("from"));
|
||||
add_constructor<VariantConstructor<double, int64_t>>(sarray("from"));
|
||||
add_constructor<VariantConstructor<double, bool>>(sarray("from"));
|
||||
add_constructor<VariantConstructorFromString<double>>(sarray("from"));
|
||||
|
||||
add_constructor<VariantConstructNoArgs<String>>(sarray());
|
||||
add_constructor<VariantConstructor<String, String>>(sarray("from"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue