wl_* types are not pointers

This commit is contained in:
Maik Klein 2018-10-23 15:45:27 +02:00
parent 6193a256fa
commit 5e2f231cf2
2 changed files with 1355 additions and 1355 deletions

File diff suppressed because it is too large Load diff

View file

@ -357,9 +357,9 @@ pub fn platform_specific_types() -> Tokens {
pub type HINSTANCE = *const c_void; pub type HINSTANCE = *const c_void;
pub type HWND = *const c_void; pub type HWND = *const c_void;
#[allow(non_camel_case_types)] #[allow(non_camel_case_types)]
pub type wl_display = *const c_void; pub type wl_display = c_void;
#[allow(non_camel_case_types)] #[allow(non_camel_case_types)]
pub type wl_surface = *const c_void; pub type wl_surface = c_void;
pub type HANDLE = *mut c_void; pub type HANDLE = *mut c_void;
pub type DWORD = c_ulong; pub type DWORD = c_ulong;
pub type LPCWSTR = *const u16; pub type LPCWSTR = *const u16;