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
16namespace LIBC_NAMESPACE_DECL {
17namespace internal {
18
19CharacterConverter::CharacterConverter(mbstate *mbstate) { state = mbstate; }
20
21bool CharacterConverter::isComplete() {}
22
23int CharacterConverter::push(char8_t utf8_byte) {}
24
25int CharacterConverter::push(char32_t utf32) {}
26
27utf_ret<char8_t> CharacterConverter::pop_utf8() {}
28
29utf_ret<char32_t> CharacterConverter::pop_utf32() {}
30
31} // namespace internal
32} // namespace LIBC_NAMESPACE_DECL
33

source code of libc/src/__support/wchar/character_converter.cpp