Skip to main content

R_ExternalMethodDef

Type Alias R_ExternalMethodDef 

Source
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 i8

Exported symbol name.

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

Function pointer implementing the routine.

§numArgs: i32

Declared arity.