Function physfs_sys::PHYSFS_addToSearchPath[][src]

pub unsafe extern "C" fn PHYSFS_addToSearchPath(
    newDir: *const c_char,
    appendToPath: c_int
) -> c_int
Expand description

\fn int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) \brief Add an archive or directory to the search path.

\deprecated As of PhysicsFS 2.0, use PHYSFS_mount() instead. This function just wraps it anyhow.

This function is equivalent to:

\code PHYSFS_mount(newDir, NULL, appendToPath); \endcode

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

\sa PHYSFS_mount \sa PHYSFS_removeFromSearchPath \sa PHYSFS_getSearchPath