diff options
| author | bstrie <865233+bstrie@users.noreply.github.com> | 2022-03-02 13:52:31 -0500 |
|---|---|---|
| committer | bstrie <865233+bstrie@users.noreply.github.com> | 2022-03-02 13:52:31 -0500 |
| commit | 9aed829fe6cdf5eaf278c6c3972f7acd0830887d (patch) | |
| tree | c493b89c49eda420ba32b9052056df11f4bce8ff /library/std/src/ffi | |
| parent | c42d846add941a26bd254911e16f02c4a3f9346f (diff) | |
Re-export core::ffi types from std::ffi
Diffstat (limited to 'library/std/src/ffi')
| -rw-r--r-- | library/std/src/ffi/mod.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/library/std/src/ffi/mod.rs b/library/std/src/ffi/mod.rs index 019b64c395e..13e3dacc30d 100644 --- a/library/std/src/ffi/mod.rs +++ b/library/std/src/ffi/mod.rs @@ -159,6 +159,15 @@ pub use self::os_str::{OsStr, OsString}; #[stable(feature = "core_c_void", since = "1.30.0")] pub use core::ffi::c_void; +#[unstable(feature = "core_ffi_c", issue = "94501")] +pub use core::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_longlong, c_schar, c_short, c_uchar, c_uint, + c_ulong, c_ulonglong, c_ushort, +}; + +#[unstable(feature = "c_size_t", issue = "88345")] +pub use core::ffi::{c_ptrdiff_t, c_size_t, c_ssize_t}; + #[unstable( feature = "c_variadic", reason = "the `c_variadic` feature has not been properly tested on \ |
