Commit 7e0655f2 authored by Ken Martin's avatar Ken Martin

removed some couts

parent 7f76762c
......@@ -90,16 +90,15 @@ int cmDynamicLoader::CloseLibrary(cmLibHandle lib)
void* cmDynamicLoader::GetSymbolAddress(cmLibHandle lib, const char* sym)
{
void *result=0;
if(NSIsSymbolNameDefined(sym)){
cout << sym << " is defined!" << endl;
NSSymbol symbol= NSLookupAndBindSymbol(sym);
if(symbol){
result = NSAddressOfSymbol(symbol);
}
}else{
cout << sym << " is not defined!" << endl;
}
void *result=0;
if(NSIsSymbolNameDefined(sym))
{
NSSymbol symbol= NSLookupAndBindSymbol(sym);
if(symbol)
{
result = NSAddressOfSymbol(symbol);
}
}
return result;
}
......
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