You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The messages are made in ASCII by using printf or gnu_printf (in the case of #ifdef _WIN32). In consequence, printing a message for wide characters (especially for strings, because the code could print for a single character) requires to go "deep" in the library. To solve this problem, functions could be done for wchar_t and wchar_t* (with wprintf).
Possible basic functions for lambda users
single character
ck_assert_wchar_eq
ck_assert_wchar_ne
ck_assert_wchar_lower (by using iswlower)
ck_assert_wchar_upper (by using iswupper)
ck_assert_wchar_ddigit (decimal)
ck_assert_wchar_xdigit (hexadecimal)
ck_assert_wchar_ascii
etc.
string
ck_assert_wstr_eq
ck_assert_wstr_ne
ck_assert_wstr_lower
ck_assert_wstr_upper
ck_assert_wstr_len
ck_assert_wstr_startswith
ck_assert_wstr_endswith
ck_assert_wstr_contains
etc.
The text was updated successfully, but these errors were encountered:
General problem
The messages are made in ASCII by using
printf
orgnu_printf
(in the case of#ifdef _WIN32
). In consequence, printing a message for wide characters (especially for strings, because the code could print for a single character) requires to go "deep" in the library. To solve this problem, functions could be done forwchar_t
andwchar_t*
(withwprintf
).Possible basic functions for lambda users
ck_assert_wchar_eq
ck_assert_wchar_ne
ck_assert_wchar_lower
(by using iswlower)ck_assert_wchar_upper
(by using iswupper)ck_assert_wchar_ddigit
(decimal)ck_assert_wchar_xdigit
(hexadecimal)ck_assert_wchar_ascii
ck_assert_wstr_eq
ck_assert_wstr_ne
ck_assert_wstr_lower
ck_assert_wstr_upper
ck_assert_wstr_len
ck_assert_wstr_startswith
ck_assert_wstr_endswith
ck_assert_wstr_contains
The text was updated successfully, but these errors were encountered: