include: Add __WINE_ALLOC_SIZE to the definition of FNALLOC.

This commit is contained in:
Alex Henrie 2023-08-15 19:52:47 -06:00 committed by Alexandre Julliard
parent b830a46dfb
commit 9d509c0383

View file

@ -204,7 +204,7 @@ typedef struct {
/**********************************************************************/ /**********************************************************************/
typedef void * (__WINE_ALLOC_SIZE(1) __cdecl *PFNALLOC)(ULONG cb); typedef void * (__WINE_ALLOC_SIZE(1) __cdecl *PFNALLOC)(ULONG cb);
#define FNALLOC(fn) void * __cdecl fn(ULONG cb) #define FNALLOC(fn) void * __WINE_ALLOC_SIZE(1) __cdecl fn(ULONG cb)
typedef void (__cdecl *PFNFREE)(void *pv); typedef void (__cdecl *PFNFREE)(void *pv);
#define FNFREE(fn) void __cdecl fn(void *pv) #define FNFREE(fn) void __cdecl fn(void *pv)