retro_get_proc_address_t

Type Alias retro_get_proc_address_t 

Source
pub type retro_get_proc_address_t = Option<unsafe extern "C" fn(sym: *const c_char) -> retro_proc_address_t>;
Expand description

libretro API extension functions: (None here so far).

Get a symbol from a libretro core. Cores should only return symbols which are actual extensions to the libretro API.

Frontends should not use this to obtain symbols to standard libretro entry points (static linking or dlsym).

The symbol name must be equal to the function name, e.g. if void retro_foo(void); exists, the symbol must be called “retro_foo”. The returned function pointer must be cast to the corresponding type.

Aliased Type§

pub enum retro_get_proc_address_t {
    None,
    Some(unsafe extern "C" fn(*const i8) -> Option<unsafe extern "C" fn()>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8) -> Option<unsafe extern "C" fn()>)

Some value of type T.