aboutsummaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorThomas Herzog2017-07-27 13:03:10 +0200
committerGitHub2017-07-27 13:03:10 +0200
commit3c53b3560fe1ae6b476cf6941ca0d7c79e0093a7 (patch)
tree87dc648f137a9d0d47766b281427766f621ad48f /modules/gdnative
parent411f09a512d5847fc9c6270439308d1e3093f211 (diff)
parent135c2112ad87265d35899dede34c3a7e06ec2f54 (diff)
downloadgodot-3c53b35.tar.gz
godot-3c53b35.tar.zst
godot-3c53b35.zip
Merge pull request #9907 from karroffel/nativescript-init-call
NativeScript changes and OS symbol lookup optional error handling
Diffstat (limited to '')
-rw-r--r--modules/gdnative/register_types.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdnative/register_types.cpp b/modules/gdnative/register_types.cpp
index 20ac1ecc0..d180d5aad 100644
--- a/modules/gdnative/register_types.cpp
+++ b/modules/gdnative/register_types.cpp
@@ -47,7 +47,8 @@ godot_variant cb_standard_varcall(void *handle, godot_string *p_procedure, godot
Error err = OS::get_singleton()->get_dynamic_library_symbol_handle(
handle,
*(String *)p_procedure,
- library_proc);
+ library_proc,
+ true); // we roll our own message
if (err != OK) {
ERR_PRINT((String("GDNative procedure \"" + *(String *)p_procedure) + "\" does not exists and can't be called").utf8().get_data());
godot_variant ret;