printf: Remove unused 'bprintf'
[drm/drm-misc.git] / rust / ffi.rs
blobbe153c4d551b2466236c36bd31445214a17d6f8b
1 // SPDX-License-Identifier: GPL-2.0
3 //! Foreign function interface (FFI) types.
4 //!
5 //! This crate provides mapping from C primitive types to Rust ones.
6 //!
7 //! The Rust [`core`] crate provides [`core::ffi`], which maps integer types to the platform default
8 //! C ABI. The kernel does not use [`core::ffi`], so it can customise the mapping that deviates from
9 //! the platform default.
11 #![no_std]
13 pub use core::ffi::*;