diff options
| author | Rémi Verschelde | 2017-10-24 18:59:26 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-24 18:59:26 +0200 |
| commit | 847c55bcb11337bd2d386347b299863f82a1be02 (patch) | |
| tree | a3fd3327204845f108886419f6e28f6b5bc60b60 /modules/gdnative/nativescript/nativescript.cpp | |
| parent | b44fb58c90e4c0f55da7b3b3292a7891d053e339 (diff) | |
| parent | e218a13a64d417505ba8ca0abb79dddfb943f2c7 (diff) | |
| download | godot-847c55bcb11337bd2d386347b299863f82a1be02.tar.gz godot-847c55bcb11337bd2d386347b299863f82a1be02.tar.zst godot-847c55bcb11337bd2d386347b299863f82a1be02.zip | |
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.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp index aa1fdc32d..e424d3257 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; } |
