Click or drag to resize
Llvm.NET LogoContextCreateStructType Method (Boolean, ITypeRef, ITypeRef)

[This is preliminary documentation and is subject to change.]

Create an anonymous structure type (e.g. Tuple)

Namespace:  Llvm.NET
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public IStructType CreateStructType(
	bool packed,
	ITypeRef element0,
	params ITypeRef[] elements
)

Parameters

packed
Type: SystemBoolean
Flag to indicate if the structure is "packed"
element0
Type: Llvm.NET.TypesITypeRef
Type of the first field of the structure
elements
Type: Llvm.NET.TypesITypeRef
Types of any additional fields of the structure

Return Value

Type: IStructType
IStructType with the specified body defined.
See Also