]> git.proxmox.com Git - rustc.git/blob - library/std/src/sys/windows/ext/raw.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / library / std / src / sys / windows / ext / raw.rs
1 //! Windows-specific primitives.
2
3 #![stable(feature = "raw_ext", since = "1.1.0")]
4
5 use crate::os::raw::c_void;
6
7 #[stable(feature = "raw_ext", since = "1.1.0")]
8 pub type HANDLE = *mut c_void;
9 #[cfg(target_pointer_width = "32")]
10 #[stable(feature = "raw_ext", since = "1.1.0")]
11 pub type SOCKET = u32;
12 #[cfg(target_pointer_width = "64")]
13 #[stable(feature = "raw_ext", since = "1.1.0")]
14 pub type SOCKET = u64;