ΒΆLLVMTypeRef LLVMStructTypeInContext(
    LLVMContextRef C,
    LLVMTypeRef* ElementTypes,
    unsigned int ElementCount,
    LLVMBool Packed)

Description

Create a new structure type in a context. A structure is specified by a list of inner elements/types and whether these can be packed together.

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

Parameters

LLVMContextRef C
LLVMTypeRef* ElementTypes
unsigned int ElementCount
LLVMBool Packed