version: hs_bindgen: 0.1.0 binding_specification: '1.0' hsmodule: Example ctypes: - headers: edge-cases/distilled_lib_1.h cname: struct another_typedef_struct_t hsname: Another_typedef_struct_t - headers: edge-cases/distilled_lib_1.h cname: another_typedef_struct_t hsname: Another_typedef_struct_t - headers: edge-cases/distilled_lib_1.h cname: enum another_typedef_enum_e hsname: Another_typedef_enum_e - headers: edge-cases/distilled_lib_1.h cname: another_typedef_enum_e hsname: Another_typedef_enum_e - headers: edge-cases/distilled_lib_1.h cname: a_type_t hsname: A_type_t - headers: edge-cases/distilled_lib_1.h cname: var_t hsname: Var_t - headers: edge-cases/distilled_lib_1.h cname: struct a_typedef_struct hsname: A_typedef_struct_t - headers: edge-cases/distilled_lib_1.h cname: a_typedef_struct_t hsname: A_typedef_struct_t - headers: edge-cases/distilled_lib_1.h cname: enum a_typedef_enum_e hsname: A_typedef_enum_e - headers: edge-cases/distilled_lib_1.h cname: a_typedef_enum_e hsname: A_typedef_enum_e - headers: edge-cases/distilled_lib_1.h cname: callback_t hsname: Callback_t hstypes: - hsname: A_type_t representation: newtype: constructor: A_type_t fields: - unwrapA_type_t instances: - Bitfield - Bits - Bounded - Enum - Eq - FiniteBits - HasCField - HasFFIType - HasField - Integral - Ix - Num - Ord - Prim - Read - ReadRaw - Real - Show - StaticSize - Storable - WriteRaw - hsname: A_typedef_enum_e representation: newtype: constructor: A_typedef_enum_e fields: - unwrapA_typedef_enum_e instances: - CEnum - Eq - HasCField - HasFFIType - HasField - Ord - Prim - Read - ReadRaw - SequentialCEnum - Show - StaticSize - Storable - WriteRaw - hsname: A_typedef_struct_t representation: record: constructor: A_typedef_struct_t fields: - a_typedef_struct_t_field_0 - a_typedef_struct_t_field_1 - a_typedef_struct_t_field_2 - a_typedef_struct_t_field_3 - a_typedef_struct_t_field_4 - a_typedef_struct_t_field_5 - a_typedef_struct_t_field_6 - a_typedef_struct_t_field_7 - a_typedef_struct_t_field_8 - a_typedef_struct_t_field_9 - a_typedef_struct_t_field_10 instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Another_typedef_enum_e representation: newtype: constructor: Another_typedef_enum_e fields: - unwrapAnother_typedef_enum_e instances: - CEnum - Eq - HasCField - HasFFIType - HasField - Ord - Prim - Read - ReadRaw - SequentialCEnum - Show - StaticSize - Storable - WriteRaw - hsname: Another_typedef_struct_t representation: record: constructor: Another_typedef_struct_t fields: - another_typedef_struct_t_foo - another_typedef_struct_t_bar instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Callback_t representation: newtype: constructor: Callback_t fields: - unwrapCallback_t instances: - Eq - HasCField - HasFFIType - HasField - Ord - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Var_t representation: newtype: constructor: Var_t fields: - unwrapVar_t instances: - Bitfield - Bits - Bounded - Enum - Eq - FiniteBits - HasCField - HasFFIType - HasField - Integral - Ix - Num - Ord - Prim - Read - ReadRaw - Real - Show - StaticSize - Storable - WriteRaw