From 9499eef4da14bea59e55fe663ce16fa151ef21f7 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 6 Oct 2019 22:26:04 +0200 Subject: Document the GDNative singleton method prefix being changeable This also tweaks error messages to remove hardcoded references to the default `godot_` prefix. --- modules/gdnative/gdnative.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gdnative/gdnative.cpp') 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; } -- cgit v1.2.3