hs-bindgen-1.0.0.0: test-artefacts/fixtures/arrays/array/bindingspec.yaml
version:
hs_bindgen: 1.0.0.0
binding_specification: '1.0'
hsmodule: Example
ctypes:
- headers: arrays/array.h
cname: triplet
hsname: Triplet
- headers: arrays/array.h
cname: list
hsname: List
- headers: arrays/array.h
cname: matrix
hsname: Matrix
- headers: arrays/array.h
cname: tripletlist
hsname: Tripletlist
- headers: arrays/array.h
cname: struct Example
hsname: Example
- headers: arrays/array.h
cname: sudoku
hsname: Sudoku
hstypes:
- hsname: Example
representation:
record:
constructor: Example
fields:
- example_triple
- example_sudoku
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsStruct
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: List
representation:
newtype:
constructor: List
fields:
- unwrapList
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsArray
- Show
- hsname: Matrix
representation:
newtype:
constructor: Matrix
fields:
- unwrapMatrix
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsArray
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Sudoku
representation:
newtype:
constructor: Sudoku
fields:
- unwrapSudoku
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsArray
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Triplet
representation:
newtype:
constructor: Triplet
fields:
- unwrapTriplet
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsArray
- ReadRaw
- Show
- StaticSize
- Storable
- WriteRaw
- hsname: Tripletlist
representation:
newtype:
constructor: Tripletlist
fields:
- unwrapTripletlist
instances:
- Eq
- Generic
- HasCField
- HasField
- HasFieldCompat
- HasFieldPtr
- IsArray
- Show