Skip to content

Commit 3922bce

Browse files
committed
Sync SDL3 wiki -> header
[ci skip]
1 parent 04a478b commit 3922bce

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

include/SDL3/SDL_filesystem.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,13 @@ typedef SDL_EnumerationResult (SDLCALL *SDL_EnumerateDirectoryCallback)(void *us
306306
*
307307
* This function provides every directory entry through an app-provided
308308
* callback, called once for each directory entry, until all results have been
309-
* provided or the callback returns either SDL_ENUM_SUCCESS or SDL_ENUM_FAILURE.
309+
* provided or the callback returns either SDL_ENUM_SUCCESS or
310+
* SDL_ENUM_FAILURE.
310311
*
311312
* This will return false if there was a system problem in general, or if a
312-
* callback returns SDL_ENUM_FAILURE. A successful return means a callback returned SDL_ENUM_SUCCESS to
313-
* halt enumeration, or all directory entries were enumerated.
313+
* callback returns SDL_ENUM_FAILURE. A successful return means a callback
314+
* returned SDL_ENUM_SUCCESS to halt enumeration, or all directory entries
315+
* were enumerated.
314316
*
315317
* \param path the path of the directory to enumerate.
316318
* \param callback a function that is called for each entry in the directory.

include/SDL3/SDL_storage.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,11 +318,13 @@ extern SDL_DECLSPEC bool SDLCALL SDL_CreateStorageDirectory(SDL_Storage *storage
318318
*
319319
* This function provides every directory entry through an app-provided
320320
* callback, called once for each directory entry, until all results have been
321-
* provided or the callback returns either SDL_ENUM_SUCCESS or SDL_ENUM_FAILURE.
321+
* provided or the callback returns either SDL_ENUM_SUCCESS or
322+
* SDL_ENUM_FAILURE.
322323
*
323324
* This will return false if there was a system problem in general, or if a
324-
* callback returns SDL_ENUM_FAILURE. A successful return means a callback returned SDL_ENUM_SUCCESS to
325-
* halt enumeration, or all directory entries were enumerated.
325+
* callback returns SDL_ENUM_FAILURE. A successful return means a callback
326+
* returned SDL_ENUM_SUCCESS to halt enumeration, or all directory entries
327+
* were enumerated.
326328
*
327329
* \param storage a storage container.
328330
* \param path the path of the directory to enumerate.

0 commit comments

Comments
 (0)