packages feed

hs-bindgen-1.0.0.0: test-artefacts/fixtures/globals/untagged/bindingspec.yaml

version:
  hs_bindgen: 1.0.0.0
  binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: globals/untagged.h
  cname: struct @untaggedPoint
  hsname: UntaggedPoint
- headers: globals/untagged.h
  cname: struct @untaggedPair
  hsname: UntaggedPair
- headers: globals/untagged.h
  cname: enum @untaggedEnum
  hsname: UntaggedEnum
  enum: open
- headers: globals/untagged.h
  cname: enum @untaggedEnumCoords
  hsname: UntaggedEnumCoords
  enum: open
- headers: globals/untagged.h
  cname: enum @A
  hsname: A
  enum: open
- headers: globals/untagged.h
  cname: union @B
  hsname: B
- headers: globals/untagged.h
  cname: struct @C
  hsname: C
hstypes:
- hsname: A
  representation:
    newtype:
      constructor: A
      fields:
      - unwrapA
      ffitype:
        hsmodule: HsBindgen.Runtime.Support
        hsname: CUInt
  instances:
  - CEnum
  - Eq
  - Generic
  - HasCField
  - HasFFIType
  - HasField
  - HasFieldCompat
  - HasFieldPtr
  - Ord
  - Prim
  - Read
  - ReadRaw
  - SequentialCEnum
  - Show
  - StaticSize
  - Storable
  - WriteRaw
- hsname: B
  representation:
    newtype:
      constructor: B
      fields:
      - unwrapB
  instances:
  - Generic
  - HasCField
  - HasField
  - HasFieldCompat
  - HasFieldPtr
  - IsUnion
  - ReadRaw
  - StaticSize
  - Storable
  - WriteRaw
- hsname: C
  representation:
    record:
      constructor: C
      fields:
      - c_x
  instances:
  - Eq
  - Generic
  - HasCField
  - HasField
  - HasFieldCompat
  - HasFieldPtr
  - IsStruct
  - ReadRaw
  - Show
  - StaticSize
  - Storable
  - WriteRaw
- hsname: UntaggedEnum
  representation:
    newtype:
      constructor: UntaggedEnum
      fields:
      - unwrapUntaggedEnum
      ffitype:
        hsmodule: HsBindgen.Runtime.Support
        hsname: CUInt
  instances:
  - CEnum
  - Eq
  - Generic
  - HasCField
  - HasFFIType
  - HasField
  - HasFieldCompat
  - HasFieldPtr
  - Ord
  - Prim
  - Read
  - ReadRaw
  - SequentialCEnum
  - Show
  - StaticSize
  - Storable
  - WriteRaw
- hsname: UntaggedEnumCoords
  representation:
    newtype:
      constructor: UntaggedEnumCoords
      fields:
      - unwrapUntaggedEnumCoords
      ffitype:
        hsmodule: HsBindgen.Runtime.Support
        hsname: CUInt
  instances:
  - CEnum
  - Eq
  - Generic
  - HasCField
  - HasFFIType
  - HasField
  - HasFieldCompat
  - HasFieldPtr
  - Ord
  - Prim
  - Read
  - ReadRaw
  - Show
  - StaticSize
  - Storable
  - WriteRaw
- hsname: UntaggedPair
  representation:
    record:
      constructor: UntaggedPair
      fields:
      - untaggedPair_a
      - untaggedPair_b
  instances:
  - Eq
  - Generic
  - HasCField
  - HasField
  - HasFieldCompat
  - HasFieldPtr
  - IsStruct
  - ReadRaw
  - Show
  - StaticSize
  - Storable
  - WriteRaw
- hsname: UntaggedPoint
  representation:
    record:
      constructor: UntaggedPoint
      fields:
      - untaggedPoint_x
      - untaggedPoint_y
  instances:
  - Eq
  - Generic
  - HasCField
  - HasField
  - HasFieldCompat
  - HasFieldPtr
  - IsStruct
  - ReadRaw
  - Show
  - StaticSize
  - Storable
  - WriteRaw