diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-07-03 18:42:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-03 18:42:49 +0200 |
commit | 2017119a3dfda0ac6b1aa30c949a7e9b8e5f1e77 (patch) | |
tree | 728be92d6c6d4a6347172d7f95411fe5575e0842 /modules/gdnative/nativescript/nativescript.h | |
parent | af4d7c4f6d434bf4b55cf0ee65cd10813d06e580 (diff) | |
parent | deebeb27424e63a9f30cb855a4e0d72ea586d1c9 (diff) |
Merge pull request #19919 from marcelofg55/notif_crash
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); |