diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-07-02 16:18:58 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-07-02 16:18:58 -0300 |
commit | deebeb27424e63a9f30cb855a4e0d72ea586d1c9 (patch) | |
tree | 4e533db34687cf53a33a9392ebb13bbe872c56df /modules/gdnative/nativescript/nativescript.h | |
parent | 2dc738ce2733757631a4ccf413a92411c4400246 (diff) | |
download | redot-engine-deebeb27424e63a9f30cb855a4e0d72ea586d1c9.tar.gz |
Add a new notification to detect crashes on native scripts
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.h')
-rw-r--r-- | modules/gdnative/nativescript/nativescript.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.h b/modules/gdnative/nativescript/nativescript.h index b47962dc37..be093dde4b 100644 --- a/modules/gdnative/nativescript/nativescript.h +++ b/modules/gdnative/nativescript/nativescript.h @@ -181,6 +181,9 @@ class NativeScriptInstance : public ScriptInstance { Object *owner; Ref<NativeScript> script; +#ifdef DEBUG_ENABLED + StringName current_method_call; +#endif void _ml_call_reversed(NativeScriptDesc *script_data, const StringName &p_method, const Variant **p_args, int p_argcount); |