libperl-macrogen 0.1.5

Generate Rust FFI bindings from C macro functions in Perl headers
Documentation
1
2
3
4
5
6
7
8
/// CopFILEAV [THX] - macro function
#[inline]
#[allow(unsafe_op_in_unsafe_fn)]
pub unsafe fn CopFILEAV(my_perl: *mut PerlInterpreter, c: *const COP) -> *mut AV {
    unsafe {
        if !CopFILE(c).is_null() { GvAV(gv_fetchfile(my_perl, CopFILE(c)) as *const SV) } else { std::ptr::null_mut() }
    }
}