xcb: add sample
This commit is contained in:
@@ -4086,6 +4086,7 @@ pub const SET_MODIFIER_MAPPING = 118;
|
||||
pub const GET_MODIFIER_MAPPING = 119;
|
||||
pub const NO_OPERATION = 127;
|
||||
|
||||
pub const COPY_FROM_PARENT = 0;
|
||||
pub const NO_SYMBOL = 0;
|
||||
|
||||
pub const import = struct {
|
||||
@@ -4728,7 +4729,7 @@ pub const import = struct {
|
||||
pub extern fn xcb_connect_to_fd(fd: c_int, auth_info: [*c]AuthInfo) ?*Connection;
|
||||
pub extern fn xcb_disconnect(c: ?*Connection) void;
|
||||
pub extern fn xcb_parse_display(name: [*c]const u8, host: [*c][*c]u8, display: [*c]c_int, screen: [*c]c_int) c_int;
|
||||
pub extern fn xcb_connect(displayname: [*c]const u8, screenp: [*c]c_int) ?*Connection;
|
||||
pub extern fn xcb_connect(displayname: [*c]const u8, screenp: [*c]c_int) *Connection;
|
||||
pub extern fn xcb_connect_to_display_with_auth_info(display: [*c]const u8, auth: [*c]AuthInfo, screen: [*c]c_int) ?*Connection;
|
||||
pub extern fn xcb_generate_id(c: ?*Connection) u32;
|
||||
pub extern fn xcb_total_read(c: ?*Connection) u64;
|
||||
|
||||
Reference in New Issue
Block a user