Alex Henrie : include: Add wmemmove to wchar.h.

Alexandre Julliard julliard at winehq.org
Thu Sep 13 03:49:15 CDT 2018


Module: wine
Branch: stable
Commit: 6fffe72ab6c1ca6864ce5b92478aa4853b7b2060
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=6fffe72ab6c1ca6864ce5b92478aa4853b7b2060

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Mon May 28 15:49:56 2018 -0600

include: Add wmemmove to wchar.h.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit b583a636c15b7d377967ed05acf8c7473e916062)
Signed-off-by: Michael Stefaniuc <mstefani at 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




More information about the wine-cvs mailing list