LibC: Add wcstok, wcstol and swprintf stubs
These are needed for our python3 port
This commit is contained in:
parent
064d9009a2
commit
d845ecc811
|
@ -24,6 +24,10 @@ int wcwidth(wchar_t wc)
|
||||||
return wc != '\0';
|
return wc != '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wchar_t* wcstok(wchar_t* __restrict, const wchar_t* __restrict, wchar_t** __restrict) { ASSERT_NOT_REACHED(); }
|
||||||
|
long wcstol(const wchar_t* __restrict, wchar_t** __restrict, int) { ASSERT_NOT_REACHED(); }
|
||||||
|
int swprintf(wchar_t* __restrict, size_t, const wchar_t* __restrict, ...) { ASSERT_NOT_REACHED(); }
|
||||||
|
|
||||||
size_t wcrtomb(char* __restrict s, wchar_t ws, mbstate_t* __restrict ps)
|
size_t wcrtomb(char* __restrict s, wchar_t ws, mbstate_t* __restrict ps)
|
||||||
{
|
{
|
||||||
(void)ps;
|
(void)ps;
|
||||||
|
|
Loading…
Reference in New Issue