Fix XCB types (#267)
This commit is contained in:
parent
8e78a2cc0d
commit
651462a342
|
@ -45,11 +45,11 @@ pub type VisualID = c_uint;
|
||||||
pub type Display = *const c_void;
|
pub type Display = *const c_void;
|
||||||
pub type Window = c_ulong;
|
pub type Window = c_ulong;
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
pub type xcb_connection_t = *const c_void;
|
pub type xcb_connection_t = c_void;
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
pub type xcb_window_t = u32;
|
pub type xcb_window_t = u32;
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
pub type xcb_visualid_t = *const c_void;
|
pub type xcb_visualid_t = u32;
|
||||||
pub type MirConnection = *const c_void;
|
pub type MirConnection = *const c_void;
|
||||||
pub type MirSurface = *const c_void;
|
pub type MirSurface = *const c_void;
|
||||||
pub type HINSTANCE = *const c_void;
|
pub type HINSTANCE = *const c_void;
|
||||||
|
|
|
@ -341,11 +341,11 @@ pub fn platform_specific_types() -> Tokens {
|
||||||
pub type Display = *const c_void;
|
pub type Display = *const c_void;
|
||||||
pub type Window = c_ulong;
|
pub type Window = c_ulong;
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
pub type xcb_connection_t = *const c_void;
|
pub type xcb_connection_t = c_void;
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
pub type xcb_window_t = u32;
|
pub type xcb_window_t = u32;
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
pub type xcb_visualid_t = *const c_void;
|
pub type xcb_visualid_t = u32;
|
||||||
pub type MirConnection = *const c_void;
|
pub type MirConnection = *const c_void;
|
||||||
pub type MirSurface = *const c_void;
|
pub type MirSurface = *const c_void;
|
||||||
pub type HINSTANCE = *const c_void;
|
pub type HINSTANCE = *const c_void;
|
||||||
|
|
Loading…
Reference in a new issue