ucrtbase: Implement _calloc_base.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2016-06-16 18:02:23 -06:00 committed by Alexandre Julliard
parent 7dca3d139c
commit fdc57d497b
3 changed files with 10 additions and 2 deletions

View File

@ -7,7 +7,7 @@
@ cdecl _aligned_realloc(ptr long long) ucrtbase._aligned_realloc
@ stub _aligned_recalloc
@ cdecl _callnewh(long) ucrtbase._callnewh
@ stub _calloc_base
@ cdecl _calloc_base(long long) ucrtbase._calloc_base
@ cdecl _expand(ptr long) ucrtbase._expand
@ stub _free_base
@ cdecl _get_heap_handle() ucrtbase._get_heap_handle

View File

@ -405,6 +405,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.@)
*/

View File

@ -211,7 +211,7 @@
@ cdecl _c_exit() MSVCRT__c_exit
@ cdecl _cabs(long) MSVCRT__cabs
@ cdecl _callnewh(long)
@ stub _calloc_base
@ cdecl _calloc_base(long long)
@ cdecl _cexit() MSVCRT__cexit
@ cdecl _cgets(ptr)
@ stub _cgets_s