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
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
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;
}