ucrtbase: Implement _realloc_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:26 -06:00 committed by Alexandre Julliard
parent e4b8bc0edc
commit 8a69c5d81f
3 changed files with 10 additions and 2 deletions

View File

@ -18,7 +18,7 @@
@ cdecl _msize(ptr) ucrtbase._msize @ cdecl _msize(ptr) ucrtbase._msize
@ stub _query_new_handler @ stub _query_new_handler
@ stub _query_new_mode @ stub _query_new_mode
@ stub _realloc_base @ cdecl _realloc_base(ptr long) ucrtbase._realloc_base
@ cdecl _recalloc(ptr long long) ucrtbase._recalloc @ cdecl _recalloc(ptr long long) ucrtbase._recalloc
@ cdecl _set_new_mode(long) ucrtbase._set_new_mode @ cdecl _set_new_mode(long) ucrtbase._set_new_mode
@ cdecl calloc(long long) ucrtbase.calloc @ cdecl calloc(long long) ucrtbase.calloc

View File

@ -459,6 +459,14 @@ void* CDECL MSVCRT_realloc(void* ptr, MSVCRT_size_t size)
return NULL; return NULL;
} }
/*********************************************************************
* _realloc_base (UCRTBASE.@)
*/
void* CDECL _realloc_base(void* ptr, MSVCRT_size_t size)
{
return MSVCRT_realloc(ptr, size);
}
/********************************************************************* /*********************************************************************
* _recalloc (MSVCR100.@) * _recalloc (MSVCR100.@)
*/ */

View File

@ -1859,7 +1859,7 @@
@ stub _query_new_handler @ stub _query_new_handler
@ stub _query_new_mode @ stub _query_new_mode
@ cdecl _read(long ptr long) MSVCRT__read @ cdecl _read(long ptr long) MSVCRT__read
@ stub _realloc_base @ cdecl _realloc_base(ptr long)
@ cdecl _recalloc(ptr long long) @ cdecl _recalloc(ptr long long)
@ cdecl _register_onexit_function(ptr ptr) MSVCRT__register_onexit_function @ cdecl _register_onexit_function(ptr ptr) MSVCRT__register_onexit_function
@ stub _register_thread_local_exe_atexit_callback @ stub _register_thread_local_exe_atexit_callback