version: hs_bindgen: 0.1.0 binding_specification: '1.0' hsmodule: Example ctypes: - headers: manual/zero_copy.h cname: struct point hsname: Point - headers: manual/zero_copy.h cname: struct rectangle hsname: Rectangle - headers: manual/zero_copy.h cname: struct circle hsname: Circle - headers: manual/zero_copy.h cname: union shape hsname: Shape - headers: manual/zero_copy.h cname: struct colour hsname: Colour - headers: manual/zero_copy.h cname: myInt hsname: MyInt - headers: manual/zero_copy.h cname: struct drawing hsname: Drawing - headers: manual/zero_copy.h cname: drawing hsname: Drawing - headers: manual/zero_copy.h cname: struct tic_tac_toe hsname: Tic_tac_toe - headers: manual/zero_copy.h cname: tic_tac_toe hsname: Tic_tac_toe - headers: manual/zero_copy.h cname: struct vector hsname: Vector_Aux - headers: manual/zero_copy.h cname: struct vector hsname: Vector - headers: manual/zero_copy.h cname: triplet hsname: Triplet - headers: manual/zero_copy.h cname: matrix hsname: Matrix hstypes: - hsname: Circle representation: record: constructor: Circle fields: - circle_midpoint - circle_radius instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Colour representation: record: constructor: Colour fields: - colour_opacity - colour_brightness - colour_red - colour_green - colour_blue instances: - Eq - HasCBitField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Drawing representation: record: constructor: Drawing fields: - drawing_shape - drawing_colour instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Matrix representation: newtype: constructor: Matrix fields: - unwrapMatrix instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: MyInt representation: newtype: constructor: MyInt fields: - unwrapMyInt instances: - Bitfield - Bits - Bounded - Enum - Eq - FiniteBits - HasCField - HasFFIType - HasField - Integral - Ix - Num - Ord - Prim - Read - ReadRaw - Real - Show - StaticSize - Storable - WriteRaw - hsname: Point representation: record: constructor: Point fields: - point_x - point_y instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Rectangle representation: record: constructor: Rectangle fields: - rectangle_topleft - rectangle_bottomright instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Shape representation: newtype: constructor: Shape fields: - unwrapShape instances: - HasCField - HasField - ReadRaw - StaticSize - Storable - WriteRaw - hsname: Tic_tac_toe representation: record: constructor: Tic_tac_toe fields: - tic_tac_toe_row1 - tic_tac_toe_row2 - tic_tac_toe_row3 instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Triplet representation: newtype: constructor: Triplet fields: - unwrapTriplet instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Vector representation: typealias - hsname: Vector_Aux representation: record: constructor: Vector fields: - vector_len instances: - Eq - Flam_Offset - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw