summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/nativescript/nativescript.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-10-24 18:59:26 +0200
committerGitHub <noreply@github.com>2017-10-24 18:59:26 +0200
commit847c55bcb11337bd2d386347b299863f82a1be02 (patch)
treea3fd3327204845f108886419f6e28f6b5bc60b60 /modules/gdnative/nativescript/nativescript.cpp
parentb44fb58c90e4c0f55da7b3b3292a7891d053e339 (diff)
parente218a13a64d417505ba8ca0abb79dddfb943f2c7 (diff)
downloadredot-engine-847c55bcb11337bd2d386347b299863f82a1be02.tar.gz
Merge pull request #12365 from neikeq/p
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.cpp')
-rw-r--r--modules/gdnative/nativescript/nativescript.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp
index aa1fdc32da..e424d32575 100644
--- a/modules/gdnative/nativescript/nativescript.cpp
+++ b/modules/gdnative/nativescript/nativescript.cpp
@@ -908,6 +908,9 @@ Script *NativeScriptLanguage::create_script() const {
bool NativeScriptLanguage::has_named_classes() const {
return true;
}
+bool NativeScriptLanguage::supports_builtin_mode() const {
+ return true;
+}
int NativeScriptLanguage::find_function(const String &p_function, const String &p_code) const {
return -1;
}