[][src]Function llvm_sys::linker::LLVMLinkModules

pub unsafe extern "C" fn LLVMLinkModules(
    Dest: LLVMModuleRef,
    Src: LLVMModuleRef,
    Mode: LLVMLinkerMode,
    OutMessage: *mut *mut c_char
) -> LLVMBool

Link the source module into the destination.

Takes ownership of the source module, returning false on success. Optionally returns a human-readable error message in OutMessage.