libperl-macrogen 0.1.4

Generate Rust FFI bindings from C macro functions in Perl headers
Documentation
1
2
3
4
5
6
7
8
/// CopFILE - macro function
#[inline]
#[allow(unsafe_op_in_unsafe_fn)]
pub unsafe fn CopFILE(c: *const COP) -> *mut c_char {
    unsafe {
        (*c).cop_file
    }
}