hs-bindgen-1.0.0.0: test-artefacts/fixtures/declarations/opaque_declaration/bindingspec.yaml
version:
hs_bindgen: 1.0.0.0
binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: declarations/opaque_declaration.h
cname: struct foo
hsname: Foo
- headers: declarations/opaque_declaration.h
cname: struct bar
hsname: Bar
- headers: declarations/opaque_declaration.h
cname: struct baz
hsname: Baz
- headers: declarations/opaque_declaration.h
cname: enum quu
hsname: Quu
- headers: declarations/opaque_declaration.h
cname: union opaque_union
hsname: Opaque_union
hstypes:
- hsname: Bar
representation:
record:
constructor: Bar
fields:
- bar_ptrA
- bar_ptrB
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Baz
representation:
record:
constructor: Baz
fields: []
instances:
- Eq
- Generic
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Foo
representation: emptydata
- hsname: Opaque_union
representation: emptydata
- hsname: Quu
representation: emptydata