ΒΆLLVMTypeRef LLVMFunctionType(
    LLVMTypeRef ReturnType,
    LLVMTypeRef* ParamTypes,
    unsigned int ParamCount,
    LLVMBool IsVarArg)

Description

Obtain a function type consisting of a specified signature. The function is defined as a tuple of a return Type, a list of parameter types, and whether the function is variadic.

Declared at: llvm/include/llvm-c/Core.h:1219

Parameters

LLVMTypeRef ReturnType
LLVMTypeRef* ParamTypes
unsigned int ParamCount
LLVMBool IsVarArg