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

pub unsafe extern 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.