retro_get_image_path_t

Type Alias retro_get_image_path_t 

Source
pub type retro_get_image_path_t = Option<unsafe extern "C" fn(index: c_uint, path: *mut c_char, len: usize) -> bool>;
Expand description

Fetches the path of the specified disk image file. Returns ‘false’ if index is invalid (index >= get_num_images()) or path is otherwise unavailable.

Aliased Type§

pub enum retro_get_image_path_t {
    None,
    Some(unsafe extern "C" fn(u32, *mut i8, usize) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u32, *mut i8, usize) -> bool)

Some value of type T.