hs-bindgen-1.0.0.0: test-artefacts/fixtures/macros/reparse/nesting/union_in_variable.2.raw/bindingspec.yaml
version:
hs_bindgen: 1.0.0.0
binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: macros/reparse/nesting/union_in_variable.h
cname: union @G1
hsname: G1
- headers: macros/reparse/nesting/union_in_variable.h
cname: union @G2
hsname: G2
- headers: macros/reparse/nesting/union_in_variable.h
cname: union @G3
hsname: G3
hstypes:
- hsname: G1
representation:
newtype:
constructor: G1
fields:
- unwrapG1
instances:
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsUnion
- ReadRaw
- StaticSize
- Storable
- WriteRaw
- hsname: G2
representation:
newtype:
constructor: G2
fields:
- unwrapG2
instances:
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsUnion
- ReadRaw
- StaticSize
- Storable
- WriteRaw
- hsname: G3
representation:
newtype:
constructor: G3
fields:
- unwrapG3
instances:
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsUnion
- ReadRaw
- StaticSize
- Storable
- WriteRaw