diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-05 12:22:47 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-05 12:22:47 (GMT) |
commit | 7e0655f290901abc96ae28747a4b43a58db09c0d (patch) | |
tree | e91a12ab53d14bf3f7e15053c4ee99cb1a82a1e4 /Source/cmDynamicLoader.cxx | |
parent | 7f76762c07dca6c61d3889124903c474be5f1c63 (diff) | |
download | CMake-7e0655f290901abc96ae28747a4b43a58db09c0d.zip CMake-7e0655f290901abc96ae28747a4b43a58db09c0d.tar.gz CMake-7e0655f290901abc96ae28747a4b43a58db09c0d.tar.bz2 |
removed some couts
Diffstat (limited to 'Source/cmDynamicLoader.cxx')
-rw-r--r-- | Source/cmDynamicLoader.cxx | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Source/cmDynamicLoader.cxx b/Source/cmDynamicLoader.cxx index 321faf0..3422dac 100644 --- a/Source/cmDynamicLoader.cxx +++ b/Source/cmDynamicLoader.cxx @@ -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; } |