Sync SDL3 wiki -> header

This commit is contained in:
SDL Wiki Bot 2024-05-09 23:33:11 +00:00
parent bcbf09acde
commit 5f86f64f06

View file

@ -60,11 +60,14 @@ typedef struct SDL_DialogFileFilter
* *
* The specific usage is described in each function. * The specific usage is described in each function.
* *
* If filelist is... - `NULL`, an error occured. Details can be obtained with * If `filelist` is:
* SDL_GetError(). - A pointer to `NULL`, the user either didn't choose any *
* file or canceled the dialog. - A pointer to non-`NULL`, the user chose one * - NULL, an error occured. Details can be obtained with SDL_GetError().
* or more files. The argument is a null-terminated list of pointers to C * - A pointer to NULL, the user either didn't choose any file or canceled the
* strings, each containing a path. * dialog.
* - A pointer to non-`NULL`, the user chose one or more files. The argument
* is a null-terminated list of pointers to C strings, each containing a
* path.
* *
* The filelist argument does not need to be freed; it will automatically be * The filelist argument does not need to be freed; it will automatically be
* freed when the callback returns. * freed when the callback returns.