diff options
author | George Marques <george@gmarqu.es> | 2021-07-29 10:53:05 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2021-08-05 14:57:31 -0300 |
commit | 3f362cec68222dcded0a14e9a4ccf357fa363a8e (patch) | |
tree | d7bda5a4f32845640c9b6537241e741bdfe89eb5 /core/variant/variant.cpp | |
parent | 97947bc063773be047dd5d7e9fefc933dde4828e (diff) | |
download | redot-engine-3f362cec68222dcded0a14e9a4ccf357fa363a8e.tar.gz |
Improve extension system
- Fix library loading and initialization.
- Add extra methods/parameters in the interface needed by extenstions.
- Add Variant destructors and functions for extracting values and
creating Variants from values.
Diffstat (limited to 'core/variant/variant.cpp')
-rw-r--r-- | core/variant/variant.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/variant/variant.cpp b/core/variant/variant.cpp index 97a1b4c02a..d538b9faff 100644 --- a/core/variant/variant.cpp +++ b/core/variant/variant.cpp @@ -3533,12 +3533,13 @@ void Variant::register_types() { _register_variant_methods(); _register_variant_setters_getters(); _register_variant_constructors(); + _register_variant_destructors(); _register_variant_utility_functions(); } void Variant::unregister_types() { _unregister_variant_operators(); _unregister_variant_methods(); _unregister_variant_setters_getters(); - _unregister_variant_constructors(); + _unregister_variant_destructors(); _unregister_variant_utility_functions(); } |