PHYSFS_enumerateFiles() actually promises sorting order, and always has.
This commit is contained in:
parent
9df22f4bf5
commit
628b88f112
|
@ -1097,8 +1097,9 @@ PHYSFS_DECL const char *PHYSFS_getRealDir(const char *filename);
|
||||||
* We've got [z.sav].
|
* We've got [z.sav].
|
||||||
* We've got [w.sav].\endverbatim
|
* We've got [w.sav].\endverbatim
|
||||||
*
|
*
|
||||||
* Feel free to sort the list however you like. We only promise there will
|
* Feel free to sort the list however you like. However, the returned data
|
||||||
* be no duplicates, but not what order the final list will come back in.
|
* will always contain no duplicates, and will be always sorted in alphabetic
|
||||||
|
* (rather: Unicode) order for you.
|
||||||
*
|
*
|
||||||
* Don't forget to call PHYSFS_freeList() with the return value from this
|
* Don't forget to call PHYSFS_freeList() with the return value from this
|
||||||
* function when you are done with it.
|
* function when you are done with it.
|
||||||
|
|
Loading…
Reference in New Issue