From 0dfd5665c0f3dda38d417920609bf276e77d26d2 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 17 Jun 2016 03:02:23 +0300 Subject: [PATCH] [WINESYNC] ucrtbase: Implement _calloc_base. Signed-off-by: Alex Henrie Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard wine commit id fdc57d497bb305e90680c3b450fa172042fd79cd by Alex Henrie --- sdk/lib/crt/wine/heap.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sdk/lib/crt/wine/heap.c b/sdk/lib/crt/wine/heap.c index 1b7eb529f31..66fcf5b4b82 100644 --- a/sdk/lib/crt/wine/heap.c +++ b/sdk/lib/crt/wine/heap.c @@ -429,6 +429,14 @@ void* CDECL MSVCRT_calloc(MSVCRT_size_t count, MSVCRT_size_t size) return msvcrt_heap_alloc(HEAP_ZERO_MEMORY, bytes); } +/********************************************************************* + * _calloc_base (UCRTBASE.@) + */ +void* CDECL _calloc_base(MSVCRT_size_t count, MSVCRT_size_t size) +{ + return MSVCRT_calloc(count, size); +} + /********************************************************************* * free (MSVCRT.@) */