Alex Henrie : include: Add wmemmove to wchar.h.
Module: wine Branch: stable Commit: 6fffe72ab6c1ca6864ce5b92478aa4853b7b2060 URL: https://source.winehq.org/git/wine.git/?a=commit;h=6fffe72ab6c1ca6864ce5b924... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Mon May 28 15:49:56 2018 -0600 include: Add wmemmove to wchar.h. 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> (cherry picked from commit b583a636c15b7d377967ed05acf8c7473e916062) Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> --- include/msvcrt/wchar.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/msvcrt/wchar.h b/include/msvcrt/wchar.h index b6e9109..c300391 100644 --- a/include/msvcrt/wchar.h +++ b/include/msvcrt/wchar.h @@ -500,6 +500,11 @@ static inline wchar_t* __cdecl wmemcpy(wchar_t *dst, const wchar_t *src, size_t return memcpy(dst, src, n * sizeof(wchar_t)); } +static inline wchar_t* __cdecl wmemmove(wchar_t *dst, const wchar_t *src, size_t n) +{ + return memmove(dst, src, n * sizeof(wchar_t)); +} + #ifdef __cplusplus } #endif
participants (1)
-
Alexandre Julliard