version: hs_bindgen: 0.1.0 binding_specification: '1.0' hsmodule: Example ctypes: - headers: manual/enable_record_dot.h cname: struct Point hsname: Point - headers: manual/enable_record_dot.h cname: struct Size hsname: Size - headers: manual/enable_record_dot.h cname: struct Rect hsname: Rect - headers: manual/enable_record_dot.h cname: enum E hsname: E - headers: manual/enable_record_dot.h cname: Value hsname: Value - headers: manual/enable_record_dot.h cname: union U1 hsname: U1 - headers: manual/enable_record_dot.h cname: union U2 hsname: U2_t - headers: manual/enable_record_dot.h cname: U2_t hsname: U2_t - headers: manual/enable_record_dot.h cname: union U3 hsname: U3 - headers: manual/enable_record_dot.h cname: union U4 hsname: U4 - headers: manual/enable_record_dot.h cname: struct Driver hsname: Driver - headers: manual/enable_record_dot.h cname: RunDriver hsname: RunDriver hstypes: - hsname: Driver representation: emptydata - hsname: E representation: newtype: constructor: E fields: - unwrap instances: - CEnum - Eq - HasCField - HasFFIType - HasField - Ord - Prim - Read - ReadRaw - SequentialCEnum - Show - StaticSize - Storable - WriteRaw - hsname: Point representation: record: constructor: Point fields: - x - 'y' instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Rect representation: record: constructor: Rect fields: - x - 'y' - width - height instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: RunDriver representation: newtype: constructor: RunDriver fields: - unwrap instances: - Eq - HasCField - HasFFIType - HasField - Ord - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Size representation: record: constructor: Size fields: - width - height instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: U1 representation: newtype: constructor: U1 fields: - unwrap instances: - HasCField - HasField - ReadRaw - StaticSize - Storable - WriteRaw - hsname: U2_t representation: newtype: constructor: U2_t fields: - unwrap instances: - HasCField - HasField - ReadRaw - StaticSize - Storable - WriteRaw - hsname: U3 representation: newtype: constructor: U3 fields: - unwrap instances: - HasCField - HasField - ReadRaw - StaticSize - Storable - WriteRaw - hsname: U4 representation: newtype: constructor: U4 fields: - unwrap instances: - HasCField - HasField - ReadRaw - StaticSize - Storable - WriteRaw - hsname: Value representation: newtype: constructor: Value fields: - unwrap instances: - Bitfield - Bits - Bounded - Enum - Eq - FiniteBits - HasCField - HasFFIType - HasField - Integral - Ix - Num - Ord - Prim - Read - ReadRaw - Real - Show - StaticSize - Storable - WriteRaw