version: hs_bindgen: 0.1.0 binding_specification: '1.0' hsmodule: Example ctypes: - headers: documentation/doxygen_docs.h cname: size_type hsname: Size_type - headers: documentation/doxygen_docs.h cname: struct forward_declared_struct hsname: Forward_declared_struct - headers: documentation/doxygen_docs.h cname: union forward_declared_union hsname: Forward_declared_union - headers: documentation/doxygen_docs.h cname: enum color_enum hsname: Color_enum - headers: documentation/doxygen_docs.h cname: event_callback_t hsname: Event_callback_t - headers: documentation/doxygen_docs.h cname: struct config_t hsname: Config_t - headers: documentation/doxygen_docs.h cname: config_t hsname: Config_t - headers: documentation/doxygen_docs.h cname: enum status_code_t hsname: Status_code_t - headers: documentation/doxygen_docs.h cname: status_code_t hsname: Status_code_t - headers: documentation/doxygen_docs.h cname: union data_union_t hsname: Data_union_t - headers: documentation/doxygen_docs.h cname: struct @data_union_t_as_parts hsname: Data_union_t_as_parts - headers: documentation/doxygen_docs.h cname: data_union_t hsname: Data_union_t - headers: documentation/doxygen_docs.h cname: struct bitfield_t hsname: Bitfield_t - headers: documentation/doxygen_docs.h cname: bitfield_t hsname: Bitfield_t - headers: documentation/doxygen_docs.h cname: processor_fn_t hsname: Processor_fn_t - headers: documentation/doxygen_docs.h cname: filename_t hsname: Filename_t - headers: documentation/doxygen_docs.h cname: struct flexible_array hsname: Flexible_array_Aux - headers: documentation/doxygen_docs.h cname: struct flexible_array hsname: Flexible_array hstypes: - hsname: Bitfield_t representation: record: constructor: Bitfield_t fields: - bitfield_t_flag1 - bitfield_t_flag2 - bitfield_t_counter - bitfield_t_reserved instances: - Eq - HasCBitField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Color_enum representation: newtype: constructor: Color_enum fields: - unwrapColor_enum instances: - CEnum - Eq - HasCField - HasFFIType - HasField - Ord - Prim - Read - ReadRaw - SequentialCEnum - Show - StaticSize - Storable - WriteRaw - hsname: Config_t representation: record: constructor: Config_t fields: - config_t_id - config_t_name - config_t_flags - config_t_callback - config_t_user_data instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Data_union_t representation: newtype: constructor: Data_union_t fields: - unwrapData_union_t instances: - HasCField - HasField - ReadRaw - StaticSize - Storable - WriteRaw - hsname: Data_union_t_as_parts representation: record: constructor: Data_union_t_as_parts fields: - data_union_t_as_parts_low - data_union_t_as_parts_high instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Event_callback_t representation: newtype: constructor: Event_callback_t fields: - unwrapEvent_callback_t instances: - Eq - HasCField - HasFFIType - HasField - Ord - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Filename_t representation: newtype: constructor: Filename_t fields: - unwrapFilename_t instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Flexible_array representation: typealias - hsname: Flexible_array_Aux representation: record: constructor: Flexible_array fields: - flexible_array_count instances: - Eq - Flam_Offset - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Forward_declared_struct representation: emptydata - hsname: Forward_declared_union representation: emptydata - hsname: Processor_fn_t representation: newtype: constructor: Processor_fn_t fields: - unwrapProcessor_fn_t instances: - Eq - HasCField - HasFFIType - HasField - Ord - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Size_type representation: newtype: constructor: Size_type fields: - unwrapSize_type instances: - Bitfield - Bits - Bounded - Enum - Eq - FiniteBits - HasCField - HasFFIType - HasField - Integral - Ix - Num - Ord - Prim - Read - ReadRaw - Real - Show - StaticSize - Storable - WriteRaw - hsname: Status_code_t representation: newtype: constructor: Status_code_t fields: - unwrapStatus_code_t instances: - CEnum - Eq - HasCField - HasFFIType - HasField - Ord - Prim - Read - ReadRaw - Show - StaticSize - Storable - WriteRaw