retro_vfs_get_path_t

Type Alias retro_vfs_get_path_t 

Source
pub type retro_vfs_get_path_t = Option<unsafe extern "C" fn(stream: *mut retro_vfs_file_handle) -> *const c_char>;
Expand description

Get path from opaque handle. Returns the exact same path passed to file_open when getting the handle Introduced in VFS API v1

Aliased Type§

pub enum retro_vfs_get_path_t {
    None,
    Some(unsafe extern "C" fn(*mut retro_vfs_file_handle) -> *const i8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut retro_vfs_file_handle) -> *const i8)

Some value of type T.