Commit dabcf22d authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

make GemDylib::LoadLib() consistent between declaration and implementation

it's (procname, libname, extension) not the other way around...
parent 5a11cfbb
......@@ -316,9 +316,12 @@ bool GemDylib::run(const std::string&procname) {
return false;
}
bool GemDylib::LoadLib(const std::string&basefilename, const std::string&extension, const std::string&procname) {
bool GemDylib::LoadLib(const std::string&procname,
const std::string&baselibname,
const std::string&fileext
) {
try {
GemDylib*dylib=new GemDylib(basefilename, extension);
GemDylib*dylib=new GemDylib(baselibname, fileext);
if(NULL!=dylib) {
dylib->run(procname);
return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment