GNOME Bugzilla – Bug 730088
xcb: No binding for xcb_connection_has_error
Last modified: 2014-05-14 04:03:13 UTC
No binding for xcb_connection_has_error
Created attachment 276479 [details] [review] Add binding for xcb_connection_has_error
Comment on attachment 276479 [details] [review] Add binding for xcb_connection_has_error Based on http://xcb.freedesktop.org/manual/group__XCB__Core__API.html#ga70a6bade94bd2824db552abcf5fbdbe3 it seems like the function returns an int. I like the idea of using an enum, but I think the CCode annotation on the enum type should be something like [CCode (cprefix = "XCB_CONN_", cname = "int", has_type_id = false)].
Created attachment 276497 [details] [review] Add binding for xcb_connection_has_error Updated to use int type. I wasn't aware the correct way of doing that, thanks!