]> git.lizzy.rs Git - rust.git/blob - library/std/src/os/windows/raw.rs
Rollup merge of #104112 - yancyribbens:add-copy-to-repeat-description, r=JohnTitor
[rust.git] / library / std / src / os / windows / 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 #[doc(cfg(all()))]
11 #[stable(feature = "raw_ext", since = "1.1.0")]
12 pub type SOCKET = u32;
13 #[cfg(target_pointer_width = "64")]
14 #[doc(cfg(all()))]
15 #[stable(feature = "raw_ext", since = "1.1.0")]
16 pub type SOCKET = u64;