version: hs_bindgen: 0.1.0 binding_specification: '1.0' hsmodule: Example ctypes: - headers: edge-cases/spec_examples.h cname: int16_T hsname: Int16_T - headers: edge-cases/spec_examples.h cname: int32_T hsname: Int32_T - headers: edge-cases/spec_examples.h cname: int64_T hsname: Int64_T - headers: edge-cases/spec_examples.h cname: struct cint16_T hsname: Cint16_T - headers: edge-cases/spec_examples.h cname: cint16_T hsname: Cint16_T - headers: edge-cases/spec_examples.h cname: struct B hsname: B - headers: edge-cases/spec_examples.h cname: struct A hsname: A - headers: edge-cases/spec_examples.h cname: struct C hsname: C hstypes: - hsname: A representation: record: constructor: A fields: - a_x - a_label - a_samples - a_b - a_c instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: B representation: record: constructor: B fields: [] instances: - Eq - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: C representation: emptydata - hsname: Cint16_T representation: record: constructor: Cint16_T fields: - cint16_T_re - cint16_T_im instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Int16_T representation: newtype: constructor: Int16_T fields: - unwrapInt16_T instances: - Bitfield - Bits - Bounded - Enum - Eq - FiniteBits - HasCField - HasFFIType - HasField - Integral - Ix - Num - Ord - Prim - Read - ReadRaw - Real - Show - StaticSize - Storable - WriteRaw - hsname: Int32_T representation: newtype: constructor: Int32_T fields: - unwrapInt32_T instances: - Bitfield - Bits - Bounded - Enum - Eq - FiniteBits - HasCField - HasFFIType - HasField - Integral - Ix - Num - Ord - Prim - Read - ReadRaw - Real - Show - StaticSize - Storable - WriteRaw - hsname: Int64_T representation: newtype: constructor: Int64_T fields: - unwrapInt64_T instances: - Bitfield - Bits - Bounded - Enum - Eq - FiniteBits - HasCField - HasFFIType - HasField - Integral - Ix - Num - Ord - Prim - Read - ReadRaw - Real - Show - StaticSize - Storable - WriteRaw