Corrected example code for PHYSFS_enumerate in physfs.h
authorRyan C. Gordon <icculus@icculus.org>
Sat, 24 Aug 2019 21:06:54 -0400
changeset 1674 d3929e660372
parent 1673 3d3c9d9386a8
child 1676 8ca9a80a216c
Corrected example code for PHYSFS_enumerate in physfs.h
src/physfs.h
--- a/src/physfs.h	Fri Jun 07 23:46:55 2019 -0400
+++ b/src/physfs.h	Sat Aug 24 21:06:54 2019 -0400
@@ -2702,10 +2702,10 @@
  *
  * \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.
  * }
  *
  * // ...