Trait blisp::runtime::FFI

source ·
pub trait FFI {
    // Required methods
    fn blisp_extern(&self) -> &'static str;
    fn ffi(&self) -> fn(env: &mut Environment<'_>, args: &[RTData]) -> RTData;
    fn name(&self) -> &'static str;
}

Required Methods§

source

fn blisp_extern(&self) -> &'static str

Extern expression of BLisp

source

fn ffi(&self) -> fn(env: &mut Environment<'_>, args: &[RTData]) -> RTData

Return the corresponding FFI.

source

fn name(&self) -> &'static str

The function name.

Implementors§