]>
git.proxmox.com Git - rustc.git/blob - library/std/src/sys/windows/ext/raw.rs
1 //! Windows-specific primitives.
3 #![stable(feature = "raw_ext", since = "1.1.0")]
5 use crate::os
::raw
::c_void
;
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;