hs-bindgen-1.0.0.0: test-artefacts/fixtures/macros/parse/elaborate/bindingspec.yaml
version:
hs_bindgen: 1.0.0.0
binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: macros/parse/elaborate.h
cname: inner_int
hsname: Inner_int
- headers: macros/parse/elaborate.h
cname: outer_int
hsname: Outer_int
hstypes:
- hsname: Inner_int
representation:
newtype:
constructor: Inner_int
fields:
- unwrapInner_int
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: Outer_int
representation:
newtype:
constructor: Outer_int
fields:
- unwrapOuter_int
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