Browse Source

include: SDL_GLOB_CASESENSITIVE is associated with SDL_GlobDirectory.

Put it under the function so wikiheaders associates it with the right symbol.
Ryan C. Gordon 11 months ago
parent
commit
03b7e02804
1 changed files with 2 additions and 3 deletions
  1. 2 3
      include/SDL3/SDL_filesystem.h

+ 2 - 3
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
 }