Arrange xcb bindings properly
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
open Ctypes
|
||||
open Foreign
|
||||
|
||||
module Void = struct
|
||||
type t
|
||||
|
||||
let typ : t structure typ = structure "xcb_void_cookie_t"
|
||||
let sequence = field typ "sequence" uint32_t
|
||||
let () = seal typ
|
||||
|
||||
let _xcb_change_window_attributes_checked =
|
||||
foreign "xcb_change_window_attributes_checked"
|
||||
(ptr Connection.typ @-> uint32_t @-> uint32_t @-> ptr uint32_t
|
||||
@-> returning typ)
|
||||
end
|
||||
Reference in New Issue
Block a user