pub type R_ExternalMethodDef = R_CallMethodDef;Expand description
Method definition for .External interface routines.
Structurally identical to R_CallMethodDef.
Aliased Type§
#[repr(C)]pub struct R_ExternalMethodDef {
pub name: *const i8,
pub fun: Option<unsafe extern "C-unwind" fn() -> *mut c_void>,
pub numArgs: i32,
}Fields§
§name: *const i8Exported symbol name.
fun: Option<unsafe extern "C-unwind" fn() -> *mut c_void>Function pointer implementing the routine.
numArgs: i32Declared arity.
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: 24 bytes