Commit 93a8ede0 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ole32: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().

parent 71aa8ee1
......@@ -320,7 +320,7 @@ extern BOOL actctx_get_miscstatus(const CLSID*, DWORD, DWORD*) DECLSPEC_HIDDEN;
extern const char *debugstr_formatetc(const FORMATETC *formatetc) DECLSPEC_HIDDEN;
static inline void *heap_alloc(size_t len)
static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t len)
{
return HeapAlloc(GetProcessHeap(), 0, len);
}
......
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