def get_cindex_library(self):
        try:
            library = cdll.LoadLibrary(self.get_filename())
        except __HOLE__ as e:
            msg = str(e) + ". To provide a path to libclang use " \
                           "Config.set_library_path() or " \
                           "Config.set_library_file()."
            raise LibclangError(msg)

        return library
dataset/ETHPy150Open punchagan/cinspect/cinspect/vendor/clang/cindex.py/Config.get_cindex_library