mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Return a correctly typed variant in case of a function error to prevent hard crashes
This commit is contained in:
parent
5d5f80b529
commit
62d87fbd8b
2 changed files with 37 additions and 4 deletions
|
@ -502,6 +502,8 @@ private:
|
|||
|
||||
List<StackDebug> stack_debug;
|
||||
|
||||
Variant _get_default_variant_for_data_type(const GDScriptDataType &p_data_type);
|
||||
|
||||
_FORCE_INLINE_ Variant *_get_variant(int p_address, GDScriptInstance *p_instance, Variant *p_stack, String &r_error) const;
|
||||
_FORCE_INLINE_ String _get_call_error(const Callable::CallError &p_err, const String &p_where, const Variant **argptrs) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue