https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0dfd5665c0f3dda38d417…
commit 0dfd5665c0f3dda38d417920609bf276e77d26d2
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Fri Jun 17 03:02:23 2016 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu Feb 2 14:58:08 2023 +0100
[WINESYNC] ucrtbase: Implement _calloc_base.
Signed-off-by: Alex Henrie <alexhenrie24(a)gmail.com>
Signed-off-by: Piotr Caban <piotr(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id fdc57d497bb305e90680c3b450fa172042fd79cd by Alex Henrie
<alexhenrie24(a)gmail.com>
---
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.@)
*/