1 | //===-- Implementation of a class for conversion --------------------------===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #include "hdr/types/char32_t.h" |
10 | #include "hdr/types/char8_t.h" |
11 | #include "src/__support/wchar/mbstate.h" |
12 | #include "src/__support/wchar/utf_ret.h" |
13 | |
14 | #include "character_converter.h" |
15 | |
16 | namespace LIBC_NAMESPACE_DECL { |
17 | namespace internal { |
18 | |
19 | CharacterConverter::CharacterConverter(mbstate *mbstate) { state = mbstate; } |
20 | |
21 | bool CharacterConverter::isComplete() {} |
22 | |
23 | int CharacterConverter::push(char8_t utf8_byte) {} |
24 | |
25 | int CharacterConverter::push(char32_t utf32) {} |
26 | |
27 | utf_ret<char8_t> CharacterConverter::pop_utf8() {} |
28 | |
29 | utf_ret<char32_t> CharacterConverter::pop_utf32() {} |
30 | |
31 | } // namespace internal |
32 | } // namespace LIBC_NAMESPACE_DECL |
33 | |