libperl-macrogen 0.1.3

Generate Rust FFI bindings from C macro functions in Perl headers
Documentation
1
2
3
4
5
6
7
8
/// CvDEPTH - macro function
#[inline]
#[allow(unsafe_op_in_unsafe_fn)]
pub unsafe fn CvDEPTH(sv: *const SV) -> I32 {
    unsafe {
        *Perl_CvDEPTH(sv as *const CV)
    }
}