removed some couts
This commit is contained in:
parent
7f76762c07
commit
7e0655f290
|
@ -90,16 +90,15 @@ int cmDynamicLoader::CloseLibrary(cmLibHandle lib)
|
||||||
|
|
||||||
void* cmDynamicLoader::GetSymbolAddress(cmLibHandle lib, const char* sym)
|
void* cmDynamicLoader::GetSymbolAddress(cmLibHandle lib, const char* sym)
|
||||||
{
|
{
|
||||||
void *result=0;
|
void *result=0;
|
||||||
if(NSIsSymbolNameDefined(sym)){
|
if(NSIsSymbolNameDefined(sym))
|
||||||
cout << sym << " is defined!" << endl;
|
{
|
||||||
NSSymbol symbol= NSLookupAndBindSymbol(sym);
|
NSSymbol symbol= NSLookupAndBindSymbol(sym);
|
||||||
if(symbol){
|
if(symbol)
|
||||||
result = NSAddressOfSymbol(symbol);
|
{
|
||||||
}
|
result = NSAddressOfSymbol(symbol);
|
||||||
}else{
|
}
|
||||||
cout << sym << " is not defined!" << endl;
|
}
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue