Skip to main content

R_FortranMethodDef

Type Alias R_FortranMethodDef 

Source
pub type R_FortranMethodDef = R_CMethodDef;
Expand description

Method definition for .Fortran interface routines.

Structurally identical to R_CMethodDef.

Aliased Type§

#[repr(C)]
pub struct R_FortranMethodDef { pub name: *const i8, pub fun: Option<unsafe extern "C-unwind" fn() -> *mut c_void>, pub numArgs: i32, pub types: *const u32, }

Fields§

§name: *const i8

Exported symbol name.

§fun: Option<unsafe extern "C-unwind" fn() -> *mut c_void>

Function pointer implementing the routine.

§numArgs: i32

Declared arity.

§types: *const u32

Optional array of argument types for type checking. May be null.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 32 bytes