1#[cfg(windows)]
5#[cfg(feature = "std")]
6pub use std::os::raw::{c_char, c_int, c_long, c_short, c_uint, c_ulong, c_ushort};
7#[cfg(not(windows))]
8#[cfg(feature = "std")]
9pub use {
10 std::ffi::{CStr, CString, FromBytesWithNulError, NulError},
11 std::os::raw::c_char,
12};
13
14#[cfg(not(windows))]
17#[cfg(all(feature = "alloc", not(feature = "std")))]
18pub use alloc::ffi::{CString, NulError};
19#[cfg(windows)]
20#[cfg(not(feature = "std"))]
21pub use core::ffi::{c_char, c_int, c_long, c_short, c_uint, c_ulong, c_ushort, c_void};
22#[cfg(not(windows))]
23#[cfg(not(feature = "std"))]
24pub use core::ffi::{c_char, CStr, FromBytesWithNulError};