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/register_types.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/register_types.cpp')
-rw-r--r-- | modules/gdnative/register_types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/register_types.cpp b/modules/gdnative/register_types.cpp index 6ff6262b56..0194199133 100644 --- a/modules/gdnative/register_types.cpp +++ b/modules/gdnative/register_types.cpp @@ -277,7 +277,7 @@ void register_gdnative_types() { proc_ptr); if (err != OK) { - ERR_PRINT((String("No godot_gdnative_singleton in \"" + singleton->get_library()->get_current_library_path()) + "\" found").utf8().get_data()); + ERR_PRINTS("No " + lib->get_symbol_prefix() + "gdnative_singleton in \"" + singleton->get_library()->get_current_library_path() + "\" found"); } else { singleton_gdnatives.push_back(singleton); ((void (*)())proc_ptr)(); |