From 1400f6fdc444650ebf37c83bb4164e25e641bab1 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 13 May 2018 07:07:56 +0200 Subject: Refactor RPCMode enum and checks --- modules/gdnative/nativescript/nativescript.cpp | 32 +++++++++++----------- modules/gdnative/nativescript/nativescript.h | 4 +-- .../pluginscript/pluginscript_instance.cpp | 4 +-- .../gdnative/pluginscript/pluginscript_instance.h | 4 +-- .../gdnative/pluginscript/pluginscript_script.cpp | 24 ++++++++-------- .../gdnative/pluginscript/pluginscript_script.h | 8 +++--- modules/gdscript/gdscript.cpp | 10 +++---- modules/gdscript/gdscript.h | 6 ++-- modules/gdscript/gdscript_function.cpp | 2 +- modules/gdscript/gdscript_function.h | 12 ++------ modules/gdscript/gdscript_parser.cpp | 14 +++++----- modules/gdscript/gdscript_parser.h | 8 +++--- modules/mono/csharp_script.cpp | 20 +++++++------- modules/mono/csharp_script.h | 6 ++-- modules/visual_script/visual_script.cpp | 10 +++---- modules/visual_script/visual_script.h | 4 +-- modules/visual_script/visual_script_nodes.cpp | 8 +++--- modules/visual_script/visual_script_nodes.h | 6 ++-- 18 files changed, 87 insertions(+), 95 deletions(-) (limited to 'modules') diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp index cf8977f3ea..3ae3a79bf8 100644 --- a/modules/gdnative/nativescript/nativescript.cpp +++ b/modules/gdnative/nativescript/nativescript.cpp @@ -747,7 +747,7 @@ Ref