hs-bindgen-1.0.0.0: test-artefacts/fixtures/macros/reparse/defer_wrong.2.raw/bindingspec.yaml
version:
hs_bindgen: 1.0.0.0
binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: macros/reparse/defer_wrong.h
cname: struct S
hsname: S
- headers: macros/reparse/defer_wrong.h
cname: foo
hsname: Foo
- headers: macros/reparse/defer_wrong.h
cname: bar
hsname: Bar
hstypes:
- hsname: Bar
representation:
newtype:
constructor: Bar
fields:
- unwrapBar
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: PtrVoid
instances:
- Eq
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- Ord
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Foo
representation:
newtype:
constructor: Foo
fields:
- unwrapFoo
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: S
representation:
record:
constructor: S
fields:
- s_x
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw