Skip to content

Commit

Permalink
include: SDL_GLOB_CASESENSITIVE is associated with SDL_GlobDirectory.
Browse files Browse the repository at this point in the history
Put it under the function so wikiheaders associates it with the right symbol.
  • Loading branch information
icculus committed May 14, 2024
1 parent 92301ae commit 03b7e02
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/SDL3/SDL_filesystem.h
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 03b7e02

Please sign in to comment.