PHYSFS_removeFromSearchPath

Function PHYSFS_removeFromSearchPath 

Source
pub unsafe extern "C" fn PHYSFS_removeFromSearchPath(
    oldDir: *const c_char,
) -> c_int
Expand description

\fn int PHYSFS_removeFromSearchPath(const char *oldDir) \brief Remove a directory or archive from the search path.

\deprecated As of PhysicsFS 2.1, use PHYSFS_unmount() instead. This function just wraps it anyhow. There’s no functional difference except the vocabulary changed from “adding to the search path” to “mounting” when that functionality was extended, and thus the preferred way to accomplish this function’s work is now called “unmounting.”

This function is equivalent to:

\code PHYSFS_unmount(oldDir); \endcode

You must use this and not PHYSFS_unmount if binary compatibility with PhysicsFS 1.0 is important (which it may not be for many people).

\sa PHYSFS_addToSearchPath \sa PHYSFS_getSearchPath \sa PHYSFS_unmount