version: hs_bindgen: 0.1.0 binding_specification: '1.0' hsmodule: Example ctypes: - headers: attributes/attributes.h cname: struct foo hsname: Foo - headers: attributes/attributes.h cname: struct bar hsname: Bar - headers: attributes/attributes.h cname: struct baz hsname: Baz - headers: attributes/attributes.h cname: baz hsname: Baz - headers: attributes/attributes.h cname: struct qux hsname: Qux - headers: attributes/attributes.h cname: qux hsname: Qux - headers: attributes/attributes.h cname: struct __sFILE hsname: FILE - headers: attributes/attributes.h cname: FILE hsname: FILE hstypes: - hsname: Bar representation: record: constructor: Bar fields: - bar_c - bar_i instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Baz representation: record: constructor: Baz fields: - baz_c - baz_i instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: FILE representation: record: constructor: FILE fields: - fILE__r - fILE__w - fILE__close instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Foo representation: record: constructor: Foo fields: - foo_c - foo_i instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw - hsname: Qux representation: record: constructor: Qux fields: - qux_c - qux_i instances: - Eq - HasCField - HasField - ReadRaw - Show - StaticSize - Storable - WriteRaw