version: hs_bindgen: 0.1.0 binding_specification: '1.0' hsmodule: Example ctypes: - headers: declarations/redeclaration.h cname: int_t hsname: Int_t - headers: declarations/redeclaration.h cname: struct X hsname: X - headers: declarations/redeclaration.h cname: union Y hsname: 'Y' hstypes: - hsname: Int_t representation: newtype: constructor: Int_t fields: - unwrapInt_t instances: - Bitfield - Bits - Bounded - Enum - Eq - FiniteBits - HasCField - HasFFIType - HasField - Integral - Ix - Num - Ord - Prim - Read - ReadRaw - Real - Show - StaticSize - Storable - WriteRaw - hsname: X representation: record: constructor: X fields: - x_n instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: 'Y' representation: newtype: constructor: 'Y' fields: - unwrapY instances: - HasCField - HasField - ReadRaw - StaticSize - Storable - WriteRaw