[PATCH 1/4] wusa: Add support for extracting MSU files.

Hans Leidekker hans at codeweavers.com
Tue Dec 3 01:44:40 CST 2019


> 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.





More information about the wine-devel mailing list