Method GetFunctionType
GetFunctionType(ITypeRef, params IEnumerable<ITypeRef>)
Get an LLVM Function type (e.g. signature)
public IFunctionType GetFunctionType(ITypeRef returnType, params IEnumerable<ITypeRef> args)
Parameters
returnTypeITypeRefReturn type of the function
argsIEnumerable<ITypeRef>Potentially empty set of function argument types
Returns
- IFunctionType
Signature type for the specified signature
GetFunctionType(bool, ITypeRef, params IEnumerable<ITypeRef>)
Get an LLVM Function type (e.g. signature)
public IFunctionType GetFunctionType(bool isVarArgs, ITypeRef returnType, params IEnumerable<ITypeRef> args)
Parameters
isVarArgsboolFlag to indicate if the method supports C/C++ style VarArgs
returnTypeITypeRefReturn type of the function
argsIEnumerable<ITypeRef>Potentially empty set of function argument types
Returns
- IFunctionType
Signature type for the specified signature