hs-bindgen-1.0.0.0: test-artefacts/fixtures/edge-cases/iterator/bindingspec.yaml
version:
hs_bindgen: 1.0.0.0
binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: edge-cases/iterator.h
cname: Toggle
hsname: Toggle
- headers: edge-cases/iterator.h
cname: Counter
hsname: Counter
- headers: edge-cases/iterator.h
cname: VarCounter
hsname: VarCounter
hstypes:
- hsname: Counter
representation:
newtype:
constructor: Counter
fields:
- unwrapCounter
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: PtrVoid
instances:
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- hsname: Toggle
representation:
newtype:
constructor: Toggle
fields:
- unwrapToggle
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: PtrVoid
instances:
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr
- hsname: VarCounter
representation:
newtype:
constructor: VarCounter
fields:
- unwrapVarCounter
ffitype:
hsmodule: HsBindgen.Runtime.Support
hsname: PtrVoid
instances:
- Generic
- HasCField
- HasFFIType
- HasField
- HasFieldCompat
- HasFieldPtr