diff --git a/src/xlib.rs b/src/xlib.rs index f3d549a..59d2206 100644 --- a/src/xlib.rs +++ b/src/xlib.rs @@ -9,6 +9,7 @@ #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] +#![allow(missing_copy_implementations)] use libc::*; @@ -1087,13 +1088,13 @@ pub type XIOErrorHandler = *mut u8; pub type XConnectionWatchProc = *mut u8; -pub type union_unnamed3 = c_void /* FIXME: union type */; +pub type union_unnamed3 = usize /* FIXME: union type */; -pub type union_unnamed5 = c_void /* FIXME: union type */; +pub type union_unnamed5 = usize /* FIXME: union type */; -pub type union_unnamed2 = c_void /* FIXME: union type */; +pub type union_unnamed2 = usize /* FIXME: union type */; -pub type union_unnamed4 = c_void /* FIXME: union type */; +pub type union_unnamed4 = usize /* FIXME: union type */; #[repr(C)] pub struct struct_unnamed1 {