From 7426b3fa91157c4e11612ffd6c8d3779d27fd657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Mon, 2 Aug 2021 04:48:17 +0200 Subject: [PATCH] Add Script::inherits_script() Partial cherry-pick of 5d4dc2d45caef77cdb52e365bc02f64d54046df5. Co-authored-by: Juan Linietsky --- core/script_language.h | 2 ++ modules/gdnative/nativescript/nativescript.cpp | 5 +++++ modules/gdnative/nativescript/nativescript.h | 2 ++ .../pluginscript/pluginscript_script.cpp | 5 +++++ .../pluginscript/pluginscript_script.h | 2 ++ modules/gdscript/gdscript.cpp | 18 ++++++++++++++++++ modules/gdscript/gdscript.h | 2 ++ modules/mono/csharp_script.cpp | 10 ++++++++++ modules/mono/csharp_script.h | 2 ++ modules/visual_script/visual_script.cpp | 4 ++++ modules/visual_script/visual_script.h | 2 ++ 11 files changed, 54 insertions(+) diff --git a/core/script_language.h b/core/script_language.h index 9013dd406aa..f276ff670f2 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -119,6 +119,8 @@ public: virtual Ref