mlir_sys

Function mlirLLVMStructTypeSetBody

Source
pub unsafe extern "C" fn mlirLLVMStructTypeSetBody(
    structType: MlirType,
    nFieldTypes: isize,
    fieldTypes: *const MlirType,
    isPacked: bool,
) -> MlirLogicalResult
Expand description

Sets the body of the identified struct if it hasn’t been set yet. Returns whether the operation was successful.