diff options
| author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-10-06 22:26:04 +0200 |
|---|---|---|
| committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-10-07 15:59:57 +0200 |
| commit | 9499eef4da14bea59e55fe663ce16fa151ef21f7 (patch) | |
| tree | 35463d968dc83d79892b0a387fa2654dd9563c90 /modules/gdnative/gdnative.cpp | |
| parent | 7801fdfedb1298f46c7031ff92deb9c276eec11c (diff) | |
| download | redot-engine-9499eef4da14bea59e55fe663ce16fa151ef21f7.tar.gz | |
Document the GDNative singleton method prefix being changeable
This also tweaks error messages to remove hardcoded references to
the default `godot_` prefix.
Diffstat (limited to 'modules/gdnative/gdnative.cpp')
| -rw-r--r-- | modules/gdnative/gdnative.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp index 783ad4e147..ee9e71d4a0 100644 --- a/modules/gdnative/gdnative.cpp +++ b/modules/gdnative/gdnative.cpp @@ -339,7 +339,7 @@ bool GDNative::initialize() { if (err || !library_init) { OS::get_singleton()->close_dynamic_library(native_handle); native_handle = NULL; - ERR_PRINT("Failed to obtain godot_gdnative_init symbol"); + ERR_PRINTS("Failed to obtain " + library->get_symbol_prefix() + "gdnative_init symbol"); return false; } |
