Commit 9d509c03 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

include: Add __WINE_ALLOC_SIZE to the definition of FNALLOC.

parent b830a46d
...@@ -204,7 +204,7 @@ typedef struct { ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment