- log(DEBUG,"Symbol search...");
- for (int j = 0; modsyms[j].name; j++)
- {
- if (!strcmp(this->staticname,modsyms[j].name))
- {
- log(DEBUG,"Loading symbol...");
- v = modsyms[j].value;
- err = 0;
- return true;
- }
- }
- err = "Module symbol missing from the core";
- return false;
-}
-
-#else
-
-bool DLLManager::GetSymbol(void **v, char *sym_name)
-{
- // try extract a symbol from the library
- // get any error message is there is any