mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00: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:
parent
ec3ba387d1
commit
7a088527c1
5 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue