1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

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);
#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);
#define FNFREE(fn) void __cdecl fn(void *pv)