[physfs] Does PHYSFS_enumerateFiles sort or not?

Willi Schinmeyer willi at schinmeyer.de
Thu Oct 22 12:25:39 EDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2015-10-22 5:57 PM, Sik the hedgehog wrote:
> That said, what's the piece of code that does the sorting? o.o

locateInStringList(), essentially - it looks for the position in a
sorted array where the given entry should be, and returns whether it's
actually there. That position is then used to insert it if it's not.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBCAAGBQJWKQ4CAAoJEIj5cA9doHvYVIwMAI1gqwQAKbmFsS7nMhPBVJS1
ywtJHHN/nA1JJzPiFBXpIczCj5mJCIHielcdVz5lZn/wIoy5itIVjk1So1EyKqMw
7GD5Ld8vHz0LXl8Z09XsMHBBvQATMwnXH9LcVo70NWHlctLLqZJiMUYrk5rhKQ/n
hBlVj7qxWXESrmxJsXXI4Jc0yRAQIf8y9VW2lovkImXBmwC52CIZp87MrBKvdZ6z
brsVzrvVKuN/ekrq1oMrYcGQfvZL3ymHeQ3KcGQuav7zsTvydAN3+B9pFLWYR/t2
hbaH4tQy3Rg/4Hq9r5KLK1da449WvW1J6cWE6ewZHrnY+dpOTceehDv2IUbc95k3
QxZnDY/ixewHiP47U8weEAptIuovS44yEKlZtYzVQVgt8ObAyXKptp2H1vgLqs1G
gU+WCc8XSjuPI8AXIy2AePT0LMybGGeiCcX91ir6KcayV5QWTwyO7B96wemkSTxM
G2SiVnBBZhpUey2Db5lmMvqGuFDwF592ZCKQbFK1OA==
=2Gag
-----END PGP SIGNATURE-----


More information about the physfs mailing list