From 03b7e0280420e7d82b9efc6bb7568e16ce60baa3 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 14 May 2024 01:58:04 -0400 Subject: [PATCH] include: SDL_GLOB_CASESENSITIVE is associated with SDL_GlobDirectory. Put it under the function so wikiheaders associates it with the right symbol. --- include/SDL3/SDL_filesystem.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/SDL3/SDL_filesystem.h b/include/SDL3/SDL_filesystem.h index 76050053a6..71ed8afb12 100644 --- a/include/SDL3/SDL_filesystem.h +++ b/include/SDL3/SDL_filesystem.h @@ -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 }