mlirComplexAttrDoubleGetChecked

Function mlirComplexAttrDoubleGetChecked 

Source
pub unsafe extern "C" fn mlirComplexAttrDoubleGetChecked(
    loc: MlirLocation,
    type_: MlirType,
    real: f64,
    imag: f64,
) -> MlirAttribute
Expand description

Same as “mlirComplexAttrDoubleGet”, but if the type is not valid for a construction of a ComplexAttr, returns a null MlirAttribute.