hs-bindgen-1.0.0.0: test-artefacts/fixtures/declarations/redeclaration/bindingspec.yaml
version:
hs_bindgen: 1.0.0.0
binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: declarations/redeclaration.h
cname: int_t
hsname: Int_t
- headers: declarations/redeclaration.h
cname: struct X
hsname: X
- headers: declarations/redeclaration.h
cname: union Y
hsname: 'Y'
hstypes:
- hsname: Int_t
representation:
newtype:
constructor: Int_t
fields:
- unwrapInt_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: X
representation:
record:
constructor: X
fields:
- x_n
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: 'Y'
representation:
newtype:
constructor: 'Y'
fields:
- unwrapY
instances:
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsUnion
- ReadRaw
- StaticSize
- Storable
- WriteRaw