1deprecated(3)                       physfs                       deprecated(3)
2
3
4

NAME

6       deprecated - Deprecated List
7
8
9       Global PHYSFS_addToSearchPath (const char *newDir, int appendToPath)
10           As of PhysicsFS 2.0, use PHYSFS_mount() instead. This function just
11           wraps it anyhow.
12
13       Global PHYSFS_enumerateFilesCallback (const char *dir,
14       PHYSFS_EnumFilesCallback c, void *d)
15           As of PhysicsFS 2.1, use PHYSFS_enumerate() instead. This function
16           has no way to report errors (or to have the callback signal an
17           error or request a stop), so if data will be lost, your callback
18           has no way to direct the process, and your calling app has no way
19           to know.
20
21       Global PHYSFS_getLastError (void)
22           Use PHYSFS_getLastErrorCode() and PHYSFS_getErrorByCode() instead.
23
24       Global PHYSFS_getLastModTime (const char *filename)
25           As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just
26           wraps it anyhow.
27
28       Global PHYSFS_getUserDir (void)
29           As of PhysicsFS 2.1, you probably want PHYSFS_getPrefDir().
30
31       Global PHYSFS_isDirectory (const char *fname)
32           As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just
33           wraps it anyhow.
34
35       Global PHYSFS_isSymbolicLink (const char *fname)
36           As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just
37           wraps it anyhow.
38
39       Global PHYSFS_read (PHYSFS_File *handle, void *buffer, PHYSFS_uint32
40       objSize, PHYSFS_uint32 objCount)
41           As of PhysicsFS 2.1, use PHYSFS_readBytes() instead. This function
42           just wraps it anyhow. This function never clarified what would
43           happen if you managed to read a partial object, so working at the
44           byte level makes this cleaner for everyone, especially now that
45           PHYSFS_Io interfaces can be supplied by the application.
46
47       Global PHYSFS_removeFromSearchPath (const char *oldDir)
48           As of PhysicsFS 2.1, use PHYSFS_unmount() instead. This function
49           just wraps it anyhow. There's no functional difference except the
50           vocabulary changed from 'adding to the search path' to 'mounting'
51           when that functionality was extended, and thus the preferred way to
52           accomplish this function's work is now called 'unmounting.'
53
54       Global PHYSFS_write (PHYSFS_File *handle, const void *buffer,
55       PHYSFS_uint32 objSize, PHYSFS_uint32 objCount)
56           As of PhysicsFS 2.1, use PHYSFS_writeBytes() instead. This function
57           just wraps it anyhow. This function never clarified what would
58           happen if you managed to write a partial object, so working at the
59           byte level makes this cleaner for everyone, especially now that
60           PHYSFS_Io interfaces can be supplied by the application.
61
62Version 3.0.2                   Thu Jan 30 2020                  deprecated(3)
Impressum