Closed waywardmonkeys closed 1 month ago
core::ffi is the preferred way to access these type definitions. Begin removing uses of the versions from libc.
core::ffi
libc
libc::c_void is not exactly the same as core::ffi::c_void but some code has tried using them interchangeably (like in io-surface).
libc::c_void
core::ffi::c_void
libc::size_t is usize on all current platforms.
libc::size_t
usize
This will need Rust 1.64 ...
@jdm @mrobinson This is good for review now.
core::ffi
is the preferred way to access these type definitions. Begin removing uses of the versions fromlibc
.libc::c_void
is not exactly the same ascore::ffi::c_void
but some code has tried using them interchangeably (like in io-surface).libc::size_t
isusize
on all current platforms.