1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Document the GDNative singleton method prefix being changeable

This also tweaks error messages to remove hardcoded references to
the default `godot_` prefix.
This commit is contained in:
Hugo Locurcio
2019-10-06 22:26:04 +02:00
parent 7801fdfedb
commit 9499eef4da
3 changed files with 3 additions and 3 deletions

View File

@@ -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;
}