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

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

use 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;