Переглянути джерело

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 1 рік тому
батько
коміт
03b7e02804
1 змінених файлів з 2 додано та 3 видалено
  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);
 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.
  * 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);
 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++ */
 /* Ends C function definitions when using C++ */
 #ifdef __cplusplus
 #ifdef __cplusplus
 }
 }