hs-bindgen-1.0.0.0: test-artefacts/fixtures/edge-cases/distilled_lib_1/bindingspec.yaml
version:
hs_bindgen: 1.0.0.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
enum: open
- 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
enum: open
- 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
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: A_typedef_enum_e
representation:
newtype:
constructor: A_typedef_enum_e
fields:
- unwrapA_typedef_enum_e
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: CUChar
instances:
- CEnum
- Eq
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- 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
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Another_typedef_enum_e
representation:
newtype:
constructor: Another_typedef_enum_e
fields:
- unwrapAnother_typedef_enum_e
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: Another_typedef_struct_t
representation:
record:
constructor: Another_typedef_struct_t
fields:
- another_typedef_struct_t_foo
- another_typedef_struct_t_bar
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Callback_t
representation:
newtype:
constructor: Callback_t
fields:
- unwrapCallback_t
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: FunPtrVoid
instances:
- Eq
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- Ord
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Var_t
representation:
newtype:
constructor: Var_t
fields:
- unwrapVar_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