Corrected example code for PHYSFS_enumerate in physfs.h
This commit is contained in:
parent
19ea59109d
commit
56aaae4949
|
@ -2702,10 +2702,10 @@ typedef PHYSFS_EnumerateCallbackResult (*PHYSFS_EnumerateCallback)(void *data,
|
|||
*
|
||||
* \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);
|
||||
* return 1; // give me more data, please.
|
||||
* return PHYSFS_ENUM_OK; // give me more data, please.
|
||||
* }
|
||||
*
|
||||
* // ...
|
||||
|
|
Loading…
Reference in New Issue