summaryrefslogtreecommitdiff
path: root/modules/gdnative/nativescript/nativescript.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-21 15:23:35 +0200
committerGitHub <noreply@github.com>2020-04-21 15:23:35 +0200
commit79f82bd74284a3a90177d6446449d2a69285130f (patch)
tree8b20a991315c19c23a83b37eed22ac6ec0d34597 /modules/gdnative/nativescript/nativescript.cpp
parent1061cf9f6634601d7c2b17b81f8f4699ee71d670 (diff)
parent5d4dc2d45caef77cdb52e365bc02f64d54046df5 (diff)
Merge pull request #38063 from reduz/implement-typed-arrays
Add ability to bind typed arrays to script API
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.cpp')
-rw-r--r--modules/gdnative/nativescript/nativescript.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp
index 96a17c99b8..ed3ec44bf7 100644
--- a/modules/gdnative/nativescript/nativescript.cpp
+++ b/modules/gdnative/nativescript/nativescript.cpp
@@ -111,6 +111,13 @@ void NativeScript::_placeholder_erased(PlaceHolderScriptInstance *p_placeholder)
#endif
+bool NativeScript::inherits_script(const Ref<Script> &p_script) const {
+#ifndef _MSC_VER
+#warning inheritance needs to be implemented in NativeScript
+#endif
+ return false;
+}
+
void NativeScript::set_class_name(String p_class_name) {
class_name = p_class_name;
}