[][src]Function llvm_sys::bit_reader::LLVMGetBitcodeModuleInContext

pub unsafe extern "C" fn LLVMGetBitcodeModuleInContext(
    ContextRef: LLVMContextRef,
    MemBuf: LLVMMemoryBufferRef,
    OutM: *mut LLVMModuleRef,
    OutMessage: *mut *mut c_char
) -> LLVMBool

Read a module from the specified path, returning a module provider performing lazy deserialization.

Returns 0 on success and an optional error message.