clippy_utils::ty

Function is_c_void

source
pub fn is_c_void(cx: &LateContext<'_>, ty: Ty<'_>) -> bool
Expand description

Check if the given type is either core::ffi::c_void, std::os::raw::c_void, or one of the platform specific libc::<platform>::c_void types in libc.