Skip to main content

CheckVsLibcCrate

Derive Macro CheckVsLibcCrate 

Source
#[derive(CheckVsLibcCrate)]
Expand description

Derive macro which checks that structs here are defined the same as in the libc crate. Perhaps not sufficiently rigorous to soundly cast between the types, but should catch most mistakes.