def load_pycryptodome_raw_lib(name, cdecl):
 split = name.split('.')
 (dir_comps, basename) = (split[:(-1)], split[(-1)])
 for (ext, mod, typ) in imp.get_suffixes():
  if (typ == imp.C_EXTENSION):
   try:
    return load_lib(pycryptodome_filename(dir_comps, (basename + ext)), cdecl)
   except OSError:
    pass
 raise OSError(("Cannot load native module '%s'" % name))

def load_pycryptodome_raw_lib ( name , cdecl ) : split = name . split ( '.' ) ( dir_comps , basename ) = ( split [ : ( - 1 ) ] , split [ ( - 1 ) ] ) for ( ext , mod , typ ) in imp . get_suffixes ( ) : if ( typ == imp . C_EXTENSION ) : try : return load_lib ( pycryptodome_filename ( dir_comps , ( basename + ext ) ) , cdecl ) except OSError : pass raise OSError ( ( "Cannot load native module '%s'" % name ) )
load a shared library and return a handle to it .