Commit f78afbb1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

msident: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().

And standardize its parameter name. Signed-off-by: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 44b7ff8b
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
WINE_DEFAULT_DEBUG_CHANNEL(msident); WINE_DEFAULT_DEBUG_CHANNEL(msident);
static inline void *heap_alloc(size_t len) static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
{ {
return HeapAlloc(GetProcessHeap(), 0, len); return HeapAlloc(GetProcessHeap(), 0, size);
} }
static inline BOOL heap_free(void *mem) static inline BOOL heap_free(void *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