version: hs_bindgen: 0.1.0 binding_specification: '1.0' hsmodule: Example ctypes: - headers: binding-specs/fun_arg/macro/function.h cname: MyFunction hsname: MyFunction - headers: binding-specs/fun_arg/macro/function.h cname: A hsname: A - headers: binding-specs/fun_arg/macro/function.h cname: B hsname: B hstypes: - hsname: A representation: newtype: constructor: A fields: - unwrapA instances: - HasCField - HasFFIType - HasField - hsname: B representation: newtype: constructor: B fields: - unwrapB instances: - HasCField - HasFFIType - HasField - hsname: MyFunction representation: newtype: constructor: MyFunction fields: - unwrapMyFunction instances: - FromFunPtr - HasCField - HasFFIType - HasField - ToFunPtr