]>
git.proxmox.com Git - rustc.git/blob - src/vendor/winapi/src/lib.rs
1 // Copyright © 2016-2017 winapi-rs developers
2 // Licensed under the Apache License, Version 2.0
3 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
4 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
5 // All files in the project carrying such notice may not be copied, modified, or distributed
6 // except according to those terms.
8 #![deny(unused, unused_qualifications)]
9 #![warn(unused_attributes)]
10 #![allow(bad_style, overflowing_literals, unused_macros)]
11 #![recursion_limit = "2563"]
13 #![cfg_attr(feature = "cargo-clippy", allow(absurd_extreme_comparisons, cast_lossless, cast_ptr_alignment, const_static_lifetime, erasing_op, excessive_precision, identity_op, many_single_char_names, module_inception, too_many_arguments, transmute_int_to_float, unreadable_literal, unseparated_literal_suffix))]
15 #[cfg(feature = "std")]
18 /// Hack for exported macros
20 pub extern crate core
as _core
;
30 /// Built in primitive types provided by the C language
32 #[cfg(feature = "std")]
33 pub use std
::os
::raw
::c_void
;
34 #[cfg(not(feature = "std"))]
37 pub type c_schar
= i8;
38 pub type c_uchar
= u8;
39 pub type c_short
= i16;
40 pub type c_ushort
= u16;
42 pub type c_uint
= u32;
43 pub type c_long
= i32;
44 pub type c_ulong
= u32;
45 pub type c_longlong
= i64;
46 pub type c_ulonglong
= u64;
47 pub type c_float
= f32;
48 pub type c_double
= f64;
50 pub type __uint8
= u8;
51 pub type __int16
= i16;
52 pub type __uint16
= u16;
53 pub type __int32
= i32;
54 pub type __uint32
= u32;
55 pub type __int64
= i64;
56 pub type __uint64
= u64;
57 pub type wchar_t
= u16;
60 fn uuidof() -> shared
::guiddef
::GUID
;