modules/audio_device/linux/latebindingsymboltable_linux.cc
bool InternalLoadSymbols(DllHandle handle,
                         int num_symbols,
                         const char *const symbol_names[],
                         void *symbols[]) {
#ifdef WEBRTC_LINUX
  // Clear any old errors.
  dlerror();
#endif
  for (int i = 0; i < num_symbols; ++i) {
    if (!LoadSymbol(handle, symbol_names[i], &symbols[i])) {
      return false;
    }
  }
  return true;
}
// This routine MUST assign SOME value for every symbol, even if that value is
// NULL, or else some symbols may be left with uninitialized data that the
// caller may later interpret as a valid address.
This routine MUST assign SOME value for every symbol, even if that value is
NULL, or else some symbols may be left with uninitialized data that the
caller may later interpret as a valid address.
This routine MUST assign SOME value for every symbol even if that value is NULL or else some symbols may be left with uninitialized data that the caller may later interpret as a valid address .
bool InternalLoadSymbols(DllHandle handle,
                         int num_symbols,
                         const char *const symbol_names[],
                         void *symbols[]) {
#ifdef WEBRTC_LINUX
  dlerror();
#endif
  for (int i = 0; i < num_symbols; ++i) {
    if (!LoadSymbol(handle, symbol_names[i], &symbols[i])) {
      return false;
    }
  }
  return true;
}
bool InternalLoadSymbols ( DllHandle handle , int num_symbols , const char * const symbol_names [ ] , void * symbols [ ] ) { #ifdef WEBRTC_LINUX dlerror ( ) ; #endif for ( int i = 0 ; i < num_symbols ; ++ i ) { if ( ! LoadSymbol ( handle , symbol_names [ i ] , & symbols [ i ] ) ) { return false ; } } return true ; }
This routine MUST assign SOME value for every symbol, even if that value is
NULL, or else some symbols may be left with uninitialized data that the
caller may later interpret as a valid address.
This routine MUST assign SOME value for every symbol even if that value is NULL or else some symbols may be left with uninitialized data that the caller may later interpret as a valid address .
// Clear any old errors.