include: SDL_GLOB_CASESENSITIVE is associated with SDL_GlobDirectory.

Put it under the function so wikiheaders associates it with the right symbol.
This commit is contained in:
Ryan C. Gordon 2024-05-14 01:58:04 -04:00
parent 92301ae8a3
commit 03b7e02804
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 2 additions and 3 deletions

View File

@ -332,9 +332,6 @@ extern DECLSPEC int SDLCALL SDL_RenamePath(const char *oldpath, const char *newp
*/
extern DECLSPEC int SDLCALL SDL_GetPathInfo(const char *path, SDL_PathInfo *info);
#define SDL_GLOB_CASEINSENSITIVE (1u << 0)
/**
* Enumerate a directory tree, filtered by pattern, and return a list.
*
@ -370,6 +367,8 @@ extern DECLSPEC int SDLCALL SDL_GetPathInfo(const char *path, SDL_PathInfo *info
*/
extern DECLSPEC char **SDLCALL SDL_GlobDirectory(const char *path, const char *pattern, Uint32 flags, int *count);
#define SDL_GLOB_CASEINSENSITIVE (1u << 0)
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}