Commit 64be3a2f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wbemdisp: Simplify and standardize the heap_xxx() declarations.

parent 304bd8e2
......@@ -18,13 +18,12 @@
HRESULT SWbemLocator_create(LPVOID *) DECLSPEC_HIDDEN;
static void *heap_alloc( size_t len ) __WINE_ALLOC_SIZE(1);
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)
{
return HeapFree( GetProcessHeap(), 0, mem );
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