Michael Stefaniuc : xmllite: Use the global HeapAlloc() wrappers.
Alexandre Julliard
julliard at winehq.org
Thu Feb 8 15:33:09 CST 2018
Module: wine
Branch: master
Commit: c9f1ada8e5d9134dc86271423409338b0370062a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c9f1ada8e5d9134dc86271423409338b0370062a
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Wed Feb 7 00:20:06 2018 +0100
xmllite: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/xmllite/xmllite_private.h | 17 +----------------
1 file changed, 1 insertion(+), 16 deletions(-)
diff --git a/dlls/xmllite/xmllite_private.h b/dlls/xmllite/xmllite_private.h
index 702fadb..7884e27 100644
--- a/dlls/xmllite/xmllite_private.h
+++ b/dlls/xmllite/xmllite_private.h
@@ -21,22 +21,7 @@
#ifndef __XMLLITE_PRIVATE__
#define __XMLLITE_PRIVATE__
-/* memory allocation functions */
-
-static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
-{
- return HeapAlloc(GetProcessHeap(), 0, size);
-}
-
-static inline void* __WINE_ALLOC_SIZE(2) heap_realloc(void *mem, size_t size)
-{
- return HeapReAlloc(GetProcessHeap(), 0, mem, size);
-}
-
-static inline BOOL heap_free(void *mem)
-{
- return HeapFree(GetProcessHeap(), 0, mem);
-}
+#include "wine/heap.h"
static inline void *m_alloc(IMalloc *imalloc, size_t len)
{
More information about the wine-cvs
mailing list