hs-bindgen-1.0.0.0: test-artefacts/fixtures/macros/macro_in_fundecl/bindingspec.yaml
version:
hs_bindgen: 1.0.0.0
binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: macros/macro_in_fundecl.h
cname: macro I
hsname: I
- headers: macros/macro_in_fundecl.h
cname: macro C
hsname: C
- headers: macros/macro_in_fundecl.h
cname: macro F
hsname: F
- headers: macros/macro_in_fundecl.h
cname: macro L
hsname: L
- headers: macros/macro_in_fundecl.h
cname: macro S
hsname: S
hstypes:
- hsname: C
representation:
newtype:
constructor: C
fields:
- unwrapC
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: CChar
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: F
representation:
newtype:
constructor: F
fields:
- unwrapF
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: CFloat
instances:
- Enum
- Eq
- Floating
- Fractional
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- Num
- Ord
- Prim
- Read
- ReadRaw
- Real
- RealFloat
- RealFrac
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: I
representation:
newtype:
constructor: I
fields:
- unwrapI
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: L
representation:
newtype:
constructor: L
fields:
- unwrapL
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: CLong
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: S
representation:
newtype:
constructor: S
fields:
- unwrapS
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: CShort
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