Don't mark the PHYSFS_EnumFilesCallback _typedef_ as deprecated.
It upsets several compilers when building PhysicsFS itself.
This commit is contained in:
parent
6da5bea804
commit
7fcddfb741
|
@ -2429,8 +2429,7 @@ int PHYSFS_enumerate(const char *_fn, PHYSFS_EnumerateCallback cb, void *data)
|
|||
|
||||
typedef struct
|
||||
{
|
||||
/* can't use the typedef because it might trigger deprecation warnings. */
|
||||
void (*callback)(void *data, const char *origdir, const char *fname);
|
||||
PHYSFS_EnumFilesCallback callback;
|
||||
void *data;
|
||||
} LegacyEnumFilesCallbackData;
|
||||
|
||||
|
|
|
@ -2288,7 +2288,7 @@ typedef void (*PHYSFS_StringCallback)(void *data, const char *str);
|
|||
* \sa PHYSFS_enumerateFilesCallback
|
||||
*/
|
||||
typedef void (*PHYSFS_EnumFilesCallback)(void *data, const char *origdir,
|
||||
const char *fname) PHYSFS_DEPRECATED;
|
||||
const char *fname);
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue