Removed the reserved parameter from SDL_EnumerateDirectoryCallback

If someone needs to, say, include an SDL_Storage object, they can simply point userdata at a structure that includes the the storage and any other data needed in enumeration.
This commit is contained in:
Sam Lantinga
2024-03-16 09:18:32 -07:00
parent ec3ba387d1
commit 7a088527c1
5 changed files with 10 additions and 10 deletions

View File

@@ -15,7 +15,7 @@
#include <SDL3/SDL_main.h>
#include <SDL3/SDL_test.h>
static int SDLCALL enum_callback(void *userdata, void *reserved, const char *origdir, const char *fname)
static int SDLCALL enum_callback(void *userdata, const char *origdir, const char *fname)
{
SDL_PathInfo info;
char *fullpath = NULL;