LLVMAddFunction

Function LLVMAddFunction 

Source
pub unsafe extern "C" fn LLVMAddFunction(
    M: LLVMModuleRef,
    Name: *const c_char,
    FunctionTy: LLVMTypeRef,
) -> LLVMValueRef
Expand description

Add a function to a module under a specified name.

@see llvm::Function::Create()