(file) Return to DynamicLibraryPOSIX.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common / Attic

Diff for /pegasus/src/Pegasus/Common/Attic/DynamicLibraryPOSIX.cpp between version 1.3 and 1.4

version 1.3, 2006/08/14 06:59:02 version 1.4, 2006/08/16 19:36:10
Line 89 
Line 89 
 #endif #endif
 } }
  
 DynamicLibrary::LIBRARY_SYMBOL DynamicLibrary::getSymbol(  DynamicLibrary::DynamicSymbolHandle DynamicLibrary::getSymbol(
     const String& symbolName)     const String& symbolName)
 { {
     PEGASUS_ASSERT(isLoaded());     PEGASUS_ASSERT(isLoaded());
Line 97 
Line 97 
     CString cstr = symbolName.getCString();     CString cstr = symbolName.getCString();
  
 #ifdef PEGASUS_OS_OS400 #ifdef PEGASUS_OS_OS400
     LIBRARY_SYMBOL func = (LIBRARY_SYMBOL)      DynamicSymbolHandle func = (DynamicSymbolHandle)
         OS400_LoadDynamicSymbol(_handle, (const char *)cstr);         OS400_LoadDynamicSymbol(_handle, (const char *)cstr);
 #else #else
     LIBRARY_SYMBOL func = (LIBRARY_SYMBOL) dlsym(_handle, (const char *)cstr);      DynamicSymbolHandle func =
           (DynamicSymbolHandle) dlsym(_handle, (const char *)cstr);
 #endif #endif
  
     return func;     return func;


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2