diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-04-21 15:23:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 15:23:35 +0200 |
commit | 79f82bd74284a3a90177d6446449d2a69285130f (patch) | |
tree | 8b20a991315c19c23a83b37eed22ac6ec0d34597 /modules/gdnative/nativescript/nativescript.cpp | |
parent | 1061cf9f6634601d7c2b17b81f8f4699ee71d670 (diff) | |
parent | 5d4dc2d45caef77cdb52e365bc02f64d54046df5 (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.cpp | 7 |
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; } |