From ef85a0b5f516545452399159efa1f082fabccefd Mon Sep 17 00:00:00 2001 From: Maik Klein Date: Sat, 17 Nov 2018 20:04:44 +0100 Subject: [PATCH] Add fuchsia typedefs --- generator/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generator/src/lib.rs b/generator/src/lib.rs index 7b3e209..48971c9 100644 --- a/generator/src/lib.rs +++ b/generator/src/lib.rs @@ -353,6 +353,8 @@ pub fn platform_specific_types() -> Tokens { pub type HANDLE = *mut c_void; pub type DWORD = c_ulong; pub type LPCWSTR = *const u16; + #[allow(non_camel_case_types)] + pub type zx_handle_t = u32; // FIXME: Platform specific types that should come from a library id:0 // typedefs are only here so that the code compiles for now