ucrtbase: Implement _malloc_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:24 -06:00 committed by Alexandre Julliard
parent fdc57d497b
commit 5325b8c951
3 changed files with 10 additions and 2 deletions

View File

@ -14,7 +14,7 @@
@ cdecl _heapchk() ucrtbase._heapchk
@ cdecl _heapmin() ucrtbase._heapmin
@ cdecl _heapwalk(ptr) ucrtbase._heapwalk
@ stub _malloc_base
@ cdecl _malloc_base(long) ucrtbase._malloc_base
@ cdecl _msize(ptr) ucrtbase._msize
@ stub _query_new_handler
@ stub _query_new_mode

View File

@ -432,6 +432,14 @@ void* CDECL MSVCRT_malloc(MSVCRT_size_t size)
return ret;
}
/*********************************************************************
* _malloc_base (UCRTBASE.@)
*/
void* CDECL _malloc_base(MSVCRT_size_t size)
{
return MSVCRT_malloc(size);
}
/*********************************************************************
* realloc (MSVCRT.@)
*/

View File

@ -580,7 +580,7 @@
@ cdecl _ltow_s(long ptr long long) MSVCRT__ltow_s
@ cdecl _makepath(ptr str str str str) MSVCRT__makepath
@ cdecl _makepath_s(ptr long str str str str) MSVCRT__makepath_s
@ stub _malloc_base
@ cdecl _malloc_base(long)
@ cdecl _mbbtombc(long)
@ stub _mbbtombc_l
@ cdecl _mbbtype(long long)