pub type retro_vfs_closedir_t = Option<unsafe extern "C" fn(dirstream: *mut retro_vfs_dir_handle) -> c_int>;Expand description
Close the directory and release its resources. Must be called if opendir returns non-NULL. Returns 0 on success, -1 on failure. Whether the call succeeds ot not, the handle passed as parameter becomes invalid and should no longer be used. Introduced in VFS API v3
Aliased Type§
pub enum retro_vfs_closedir_t {
None,
Some(unsafe extern "C" fn(*mut retro_vfs_dir_handle) -> i32),
}