Commit 4dcdbf35 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

iccvid: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().

And standardize its formatting, parameter name, etc. Signed-off-by: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent dabb5899
......@@ -81,14 +81,14 @@ typedef struct _ICCVID_Info
cinepak_info *cvinfo;
} ICCVID_Info;
static inline LPVOID heap_alloc( size_t size )
static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
{
return HeapAlloc( GetProcessHeap(), 0, size );
return HeapAlloc(GetProcessHeap(), 0, size);
}
static inline BOOL heap_free( LPVOID ptr )
static inline BOOL heap_free(void *mem)
{
return HeapFree( GetProcessHeap(), 0, ptr );
return HeapFree(GetProcessHeap(), 0, mem);
}
......
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