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

NAME

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