[PATCH] include: Add wmem functions to wchar.h

Alex Henrie alexhenrie24 at gmail.com
Fri May 25 09:53:56 CDT 2018


On Fri, May 25, 2018 at 4:17 AM Piotr Caban <piotr.caban at gmail.com> wrote:
> On 05/23/18 06:30, Alex Henrie wrote:
> > +wchar_t* __cdecl wmemchr(const wchar_t*,wchar_t,size_t);
> > +int      __cdecl wmemcmp(const wchar_t*,const wchar_t*,size_t);
> > +wchar_t* __cdecl wmemcpy(wchar_t*,const wchar_t*,size_t);
> > +wchar_t* __cdecl wmemmove(wchar_t*,const wchar_t*,size_t);
> > +wchar_t* __cdecl wmemset(wchar_t*,wchar_t,size_t);
> These functions are not exported from any of msv* dlls. If it's really
> needed you will need to provide the implementation inside of the header.

Ah, thanks for catching that. When I saw the bug report I assumed that it
was simply an oversight. I'm also assuming that the bug reporter had a good
reason for wanting these functions, so I'll try writing some inline
implementations.

-Alex



More information about the wine-devel mailing list