llvm.core.StructType

Automatically Generated Documentation

class llvm.core.StructType(ptr)

Represents a structure type.

element_count

Number of elements (members) in the structure.

Same as len(obj.elements), but faster.

elements

An iterable that yields Type objects, representing the types of the elements (members) of the structure, in order.

is_identified
is_layout_identical(other)
is_literal
is_opaque
name
packed

True if the structure is packed, False otherwise.

set_body(elems, packed=False)

Filled the body of a opaque type.

Table Of Contents

Previous topic

llvm.core.PointerType

Next topic

llvm.core.Type