3 Dec
2019
3 Dec
'19
7:44 a.m.
diff --git a/programs/wusa/wusa.h b/programs/wusa/wusa.h new file mode 100644 index 0000000000..c6bf7eda11 + +static void *heap_alloc(size_t len) __WINE_ALLOC_SIZE(1); +static inline void *heap_alloc(size_t len) +{ + return HeapAlloc(GetProcessHeap(), 0, len); +} + +static inline BOOL heap_free(void *mem)
Is there a reason why your not using the wine/heap.h ones?
I left it because we may as well switch to the C allocation functions, now that we're building with msvcrt.