diff options
author | pixel <pixel> | 2008-08-06 12:02:37 +0000 |
---|---|---|
committer | pixel <pixel> | 2008-08-06 12:02:37 +0000 |
commit | a180349ca212f0622e184ca65be4e01799d7d5a5 (patch) | |
tree | c8bb3d3e07272b629031ab3ee59318ad7fa7f853 /src | |
parent | b7014aad09a7f5653e2931858a1c148a15f21352 (diff) |
Small fix...
Diffstat (limited to 'src')
-rw-r--r-- | src/lua-plugin.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lua-plugin.cc b/src/lua-plugin.cc index 92b379b..817c35b 100644 --- a/src/lua-plugin.cc +++ b/src/lua-plugin.cc @@ -9,7 +9,7 @@ void LuaLoadPlugin(const String & _fname, Lua * L) throw (GeneralException) { HMODULE handle; String fname = _fname + ".dll"; - printm(M_INFO, "Loading library " + fname + "\n"); + Base::printm(M_INFO, "Loading library " + fname + "\n"); if (!(handle = LoadLibraryEx(fname.to_charp(), NULL, LOAD_WITH_ALTERED_SEARCH_PATH)) && !(handle = LoadLibraryEx(fname.to_charp(), NULL, NULL))) { @@ -22,7 +22,7 @@ void LuaLoadPlugin(const String & _fname, Lua * L) throw (GeneralException) { throw GeneralException("No init pointer on plugin " + fname); } - printm(M_INFO, "Library loaded, init ptr = %p\n", init_ptr); + Base::printm(M_INFO, "Library loaded, init ptr = %p\n", init_ptr); init_ptr(L); } @@ -32,7 +32,7 @@ void LuaLoadPlugin(const String & _fname, Lua * L) throw (GeneralException) { void LuaLoadPlugin(const String & fname, Lua * L) throw (GeneralException) { void * handle = dlopen(("./" + fname + ".so").to_charp(), RTLD_NOW | RTLD_GLOBAL); - printm(M_INFO, "Loading library " + fname + "\n"); + Base::printm(M_INFO, "Loading library " + fname + "\n"); if (!handle) { throw GeneralException("File not found or error loading shared object file: " + fname + "; " + dlerror()); @@ -44,7 +44,7 @@ void LuaLoadPlugin(const String & fname, Lua * L) throw (GeneralException) { throw GeneralException("No init pointer on plugin " + fname); } - printm(M_INFO, "Library loaded, init ptr = %p\n", init_ptr); + Base::printm(M_INFO, "Library loaded, init ptr = %p\n", init_ptr); init_ptr(L); } |