hs-bindgen-1.0.0.0: test-artefacts/fixtures/documentation/doxygen_docs/bindingspec.yaml
version:
hs_bindgen: 1.0.0.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 opaque_struct
hsname: Opaque_struct
- headers: documentation/doxygen_docs.h
cname: union opaque_union
hsname: Opaque_union
- headers: documentation/doxygen_docs.h
cname: enum color_enum
hsname: Color_enum
enum: open
- 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
enum: open
- 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
- headers: documentation/doxygen_docs.h
cname: struct dyn_array_t
hsname: Dyn_array_t
- headers: documentation/doxygen_docs.h
cname: dyn_array_t
hsname: Dyn_array_t
- headers: documentation/doxygen_docs.h
cname: struct multi_untagged_t
hsname: Multi_untagged_t
- headers: documentation/doxygen_docs.h
cname: struct @multi_untagged_t_pos
hsname: Multi_untagged_t_pos
- headers: documentation/doxygen_docs.h
cname: struct @multi_untagged_t_dim
hsname: Multi_untagged_t_dim
- headers: documentation/doxygen_docs.h
cname: multi_untagged_t
hsname: Multi_untagged_t
- headers: documentation/doxygen_docs.h
cname: struct named_outer
hsname: Named_outer
- headers: documentation/doxygen_docs.h
cname: struct named_inner
hsname: Named_inner
- headers: documentation/doxygen_docs.h
cname: struct deep_outer
hsname: Deep_outer
- headers: documentation/doxygen_docs.h
cname: struct deep_mid
hsname: Deep_mid
- headers: documentation/doxygen_docs.h
cname: struct @deep_mid_untagged_field
hsname: Deep_mid_untagged_field
- headers: documentation/doxygen_docs.h
cname: struct unnamed_field_t
hsname: Unnamed_field_t
- headers: documentation/doxygen_docs.h
cname: struct @unnamed_field_t_anon'ua
hsname: Unnamed_field_t_anon'ua
- headers: documentation/doxygen_docs.h
cname: unnamed_field_t
hsname: Unnamed_field_t
- headers: documentation/doxygen_docs.h
cname: api_version_t
hsname: Api_version_t
hstypes:
- hsname: Api_version_t
representation:
newtype:
constructor: Api_version_t
fields:
- unwrapApi_version_t
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: CInt
instances:
- Bitfield
- Bits
- Bounded
- Enum
- Eq
- FiniteBits
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- Integral
- Ix
- Num
- Ord
- Prim
- Read
- ReadRaw
- Real
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Bitfield_t
representation:
record:
constructor: Bitfield_t
fields:
- bitfield_t_flag1
- bitfield_t_flag2
- bitfield_t_counter
- bitfield_t_reserved
instances:
- Eq
- Generic
- HasCBitfield
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Color_enum
representation:
newtype:
constructor: Color_enum
fields:
- unwrapColor_enum
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: CUInt
instances:
- CEnum
- Eq
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- 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
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Data_union_t
representation:
newtype:
constructor: Data_union_t
fields:
- unwrapData_union_t
instances:
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsUnion
- 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
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Deep_mid
representation:
record:
constructor: Deep_mid
fields:
- deep_mid_m
- deep_mid_untagged_field
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Deep_mid_untagged_field
representation:
record:
constructor: Deep_mid_untagged_field
fields:
- deep_mid_untagged_field_deep_a
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Deep_outer
representation:
record:
constructor: Deep_outer
fields:
- deep_outer_mid_field
- deep_outer_o
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Dyn_array_t
representation:
record:
constructor: Dyn_array_t
fields:
- dyn_array_t_data
- dyn_array_t_size
- dyn_array_t_capacity
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Event_callback_t
representation:
newtype:
constructor: Event_callback_t
fields:
- unwrapEvent_callback_t
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: FunPtrVoid
instances:
- Eq
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- Ord
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Filename_t
representation:
newtype:
constructor: Filename_t
fields:
- unwrapFilename_t
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsArray
- 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
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Multi_untagged_t
representation:
record:
constructor: Multi_untagged_t
fields:
- multi_untagged_t_pos
- multi_untagged_t_dim
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Multi_untagged_t_dim
representation:
record:
constructor: Multi_untagged_t_dim
fields:
- multi_untagged_t_dim_w
- multi_untagged_t_dim_h
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Multi_untagged_t_pos
representation:
record:
constructor: Multi_untagged_t_pos
fields:
- multi_untagged_t_pos_x
- multi_untagged_t_pos_y
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Named_inner
representation:
record:
constructor: Named_inner
fields:
- named_inner_nx
- named_inner_ny
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Named_outer
representation:
record:
constructor: Named_outer
fields:
- named_outer_inner_field
- named_outer_nz
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Opaque_struct
representation: emptydata
- hsname: Opaque_union
representation: emptydata
- hsname: Processor_fn_t
representation:
newtype:
constructor: Processor_fn_t
fields:
- unwrapProcessor_fn_t
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: FunPtrVoid
instances:
- Eq
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- Ord
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Size_type
representation:
newtype:
constructor: Size_type
fields:
- unwrapSize_type
ffitype:
hsmodule: HsBindgen.Runtime.LibC
hsname: CSize
instances:
- Bitfield
- Bits
- Bounded
- Enum
- Eq
- FiniteBits
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- 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
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: CInt
instances:
- CEnum
- Eq
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- Ord
- Prim
- Read
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Unnamed_field_t
representation:
record:
constructor: Unnamed_field_t
fields:
- unnamed_field_t_before
- unnamed_field_t_anon'ua
- unnamed_field_t_after
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Unnamed_field_t_anon'ua
representation:
record:
constructor: Unnamed_field_t_anon'ua
fields:
- unnamed_field_t_anon'ua_ua
- unnamed_field_t_anon'ua_ub
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw