Corrected example code for PHYSFS_enumerate in physfs.h
(transplanted from d3929e6603725b968df778618204ca6c3869b446)
This commit is contained in:
parent
f5458fbc6c
commit
0e38afca9b
|
@ -2702,10 +2702,10 @@ typedef PHYSFS_EnumerateCallbackResult (*PHYSFS_EnumerateCallback)(void *data,
|
||||||
*
|
*
|
||||||
* \code
|
* \code
|
||||||
*
|
*
|
||||||
* static int printDir(void *data, const char *origdir, const char *fname)
|
* static PHYSFS_EnumerateCallbackResult printDir(void *data, const char *origdir, const char *fname)
|
||||||
* {
|
* {
|
||||||
* printf(" * We've got [%s] in [%s].\n", fname, origdir);
|
* printf(" * We've got [%s] in [%s].\n", fname, origdir);
|
||||||
* return 1; // give me more data, please.
|
* return PHYSFS_ENUM_OK; // give me more data, please.
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* // ...
|
* // ...
|
||||||
|
|
Loading…
Reference in New Issue