hs-bindgen-1.0.0.0: test-artefacts/fixtures/macros/reparse/nesting/union_in_struct.1.empty/bindingspec.yaml
version:
hs_bindgen: 1.0.0.0
binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: macros/reparse/nesting/union_in_struct.h
cname: struct @T1
hsname: T1
- headers: macros/reparse/nesting/union_in_struct.h
cname: union @T1_x
hsname: T1_x
- headers: macros/reparse/nesting/union_in_struct.h
cname: struct @T2
hsname: T2
- headers: macros/reparse/nesting/union_in_struct.h
cname: union @T2_x
hsname: T2_x
- headers: macros/reparse/nesting/union_in_struct.h
cname: struct @T3
hsname: T3
- headers: macros/reparse/nesting/union_in_struct.h
cname: union @T3_x
hsname: T3_x
hstypes:
- hsname: T1
representation:
record:
constructor: T1
fields:
- t1_x
instances:
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- StaticSize
- Storable
- WriteRaw
- hsname: T1_x
representation:
newtype:
constructor: T1_x
fields:
- unwrapT1_x
instances:
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsUnion
- ReadRaw
- StaticSize
- Storable
- WriteRaw
- hsname: T2
representation:
record:
constructor: T2
fields:
- t2_x
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: T2_x
representation:
newtype:
constructor: T2_x
fields:
- unwrapT2_x
instances:
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsUnion
- ReadRaw
- StaticSize
- Storable
- WriteRaw
- hsname: T3
representation:
record:
constructor: T3
fields:
- t3_x
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: T3_x
representation:
newtype:
constructor: T3_x
fields:
- unwrapT3_x
instances:
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsUnion
- ReadRaw
- StaticSize
- Storable
- WriteRaw