mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user