Commit 3cb897ff authored by Bartosz Kosiorek's avatar Bartosz Kosiorek Committed by Alexandre Julliard

msvcrt: Add _mbsinc_l implementation.

parent 46c83607
...@@ -1116,7 +1116,7 @@ ...@@ -1116,7 +1116,7 @@
@ cdecl _mbsicoll(str str) @ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr) @ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str) @ cdecl _mbsinc(str)
@ stub _mbsinc_l @ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str) @ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr) @ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str) @ cdecl _mbslwr(str)
......
...@@ -1473,7 +1473,7 @@ ...@@ -1473,7 +1473,7 @@
@ cdecl _mbsicoll(str str) @ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr) @ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str) @ cdecl _mbsinc(str)
@ stub _mbsinc_l @ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str) @ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr) @ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str) @ cdecl _mbslwr(str)
......
...@@ -1484,7 +1484,7 @@ ...@@ -1484,7 +1484,7 @@
@ cdecl _mbsicoll(str str) @ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr) @ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str) @ cdecl _mbsinc(str)
@ stub _mbsinc_l @ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str) @ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr) @ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str) @ cdecl _mbslwr(str)
......
...@@ -788,7 +788,7 @@ ...@@ -788,7 +788,7 @@
@ cdecl _mbsicoll(str str) @ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr) @ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str) @ cdecl _mbsinc(str)
@ stub _mbsinc_l @ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str) @ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr) @ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str) @ cdecl _mbslwr(str)
......
...@@ -766,7 +766,7 @@ ...@@ -766,7 +766,7 @@
@ cdecl _mbsicoll(str str) @ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr) @ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str) @ cdecl _mbsinc(str)
@ stub _mbsinc_l @ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str) @ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr) @ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str) @ cdecl _mbslwr(str)
......
...@@ -655,11 +655,19 @@ size_t CDECL _mbclen(const unsigned char* str) ...@@ -655,11 +655,19 @@ size_t CDECL _mbclen(const unsigned char* str)
} }
/********************************************************************* /*********************************************************************
* _mbsinc_l(MSVCRT.@)
*/
unsigned char* CDECL _mbsinc_l(const unsigned char* str, _locale_t locale)
{
return (unsigned char *)(str + _mbclen_l(str, locale));
}
/*********************************************************************
* _mbsinc(MSVCRT.@) * _mbsinc(MSVCRT.@)
*/ */
unsigned char* CDECL _mbsinc(const unsigned char* str) unsigned char* CDECL _mbsinc(const unsigned char* str)
{ {
return (unsigned char *)(str + _mbclen(str)); return _mbsinc_l(str, NULL);
} }
/********************************************************************* /*********************************************************************
......
...@@ -737,7 +737,7 @@ ...@@ -737,7 +737,7 @@
@ cdecl _mbsicoll(str str) @ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr) @ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str) @ cdecl _mbsinc(str)
# stub _mbsinc_l(str ptr) @ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str) @ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr) @ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str) @ cdecl _mbslwr(str)
......
...@@ -631,7 +631,7 @@ ...@@ -631,7 +631,7 @@
@ cdecl _mbsicoll(str str) @ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr) @ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str) @ cdecl _mbsinc(str)
@ stub _mbsinc_l @ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str) @ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr) @ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str) @ cdecl _mbslwr(str)
...@@ -1200,7 +1200,7 @@ ...@@ -1200,7 +1200,7 @@
@ cdecl _o__mbsicoll(str str) _mbsicoll @ cdecl _o__mbsicoll(str str) _mbsicoll
@ cdecl _o__mbsicoll_l(str str ptr) _mbsicoll_l @ cdecl _o__mbsicoll_l(str str ptr) _mbsicoll_l
@ cdecl _o__mbsinc(str) _mbsinc @ cdecl _o__mbsinc(str) _mbsinc
@ stub _o__mbsinc_l @ cdecl _o__mbsinc_l(str ptr) _mbsinc_l
@ cdecl _o__mbslen(str) _mbslen @ cdecl _o__mbslen(str) _mbslen
@ cdecl _o__mbslen_l(str ptr) _mbslen_l @ cdecl _o__mbslen_l(str ptr) _mbslen_l
@ cdecl _o__mbslwr(str) _mbslwr @ cdecl _o__mbslwr(str) _mbslwr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment