mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 01:41:18 +00:00
scrrun: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
93a8ede0e8
commit
0d8d0b9f18
@ -46,7 +46,7 @@ struct provideclassinfo {
|
|||||||
|
|
||||||
extern void init_classinfo(const GUID *guid, IUnknown *outer, struct provideclassinfo *classinfo) DECLSPEC_HIDDEN;
|
extern void init_classinfo(const GUID *guid, IUnknown *outer, struct provideclassinfo *classinfo) 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);
|
return HeapAlloc(GetProcessHeap(), 0, len);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user