about summary refs log tree commit diff
path: root/src/libstd/sys/windows/ext/raw.rs
blob: d2bab2720369fbe13c050a0962347642730947c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
//! Windows-specific primitives

#![stable(feature = "raw_ext", since = "1.1.0")]

use crate::os::raw::c_void;

#[stable(feature = "raw_ext", since = "1.1.0")] pub type HANDLE = *mut c_void;
#[cfg(target_pointer_width = "32")]
#[stable(feature = "raw_ext", since = "1.1.0")] pub type SOCKET = u32;
#[cfg(target_pointer_width = "64")]
#[stable(feature = "raw_ext", since = "1.1.0")] pub type SOCKET = u64;