version: hs_bindgen: 0.1.0 binding_specification: '1.0' hsmodule: Example ctypes: - headers: binding-specs/fun_arg/macro/enum.h cname: enum MyEnum hsname: MyEnum - headers: binding-specs/fun_arg/macro/enum.h cname: A hsname: A - headers: binding-specs/fun_arg/macro/enum.h cname: B hsname: B hstypes: - hsname: A representation: newtype: constructor: A fields: - unwrapA instances: - Eq - HasCField - HasFFIType - HasField - Ord - Prim - Read - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: B representation: newtype: constructor: B fields: - unwrapB instances: - Eq - HasCField - HasFFIType - HasField - Ord - Prim - Read - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: MyEnum representation: newtype: constructor: MyEnum fields: - unwrapMyEnum instances: - CEnum - Eq - HasCField - HasFFIType - HasField - Ord - Prim - Read - ReadRaw - SequentialCEnum - Show - StaticSize - Storable - WriteRaw