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).
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