File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2222namespace LIBC_NAMESPACE_DECL {
2323namespace internal {
2424
25- LIBC_INLINE static ErrorOr<size_t > wcsnrtombs (char *__restrict dest,
26- const wchar_t **__restrict ptr_to_src,
27- size_t num_src_widechars, size_t dest_len,
28- mbstate *ps) {
25+ LIBC_INLINE static ErrorOr<size_t >
26+ wcsnrtombs (char *__restrict dest, const wchar_t **__restrict ptr_to_src,
27+ size_t num_src_widechars, size_t dest_len, mbstate *ps) {
2928 LIBC_CRASH_ON_NULLPTR (ptr_to_src);
3029 LIBC_CRASH_ON_NULLPTR (ps);
3130
@@ -36,8 +35,9 @@ LIBC_INLINE static ErrorOr<size_t> wcsnrtombs(char *__restrict dest,
3635 if (dest == nullptr )
3736 dest_len = SIZE_MAX;
3837
39- StringConverter<char32_t > str_conv (reinterpret_cast <const char32_t *>(*ptr_to_src),
40- ps, dest_len, num_src_widechars);
38+ StringConverter<char32_t > str_conv (
39+ reinterpret_cast <const char32_t *>(*ptr_to_src), ps, dest_len,
40+ num_src_widechars);
4141 size_t dst_idx = 0 ;
4242 ErrorOr<char8_t > converted = str_conv.popUTF8 ();
4343 while (converted.has_value ()) {
You can’t perform that action at this time.
0 commit comments