14f4752eeSMichael Jones //===-- Starting point for printf -------------------------------*- C++ -*-===// 24f4752eeSMichael Jones // 34f4752eeSMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 44f4752eeSMichael Jones // See https://llvm.org/LICENSE.txt for license information. 54f4752eeSMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 64f4752eeSMichael Jones // 74f4752eeSMichael Jones //===----------------------------------------------------------------------===// 84f4752eeSMichael Jones 94f4752eeSMichael Jones #ifndef LLVM_LIBC_SRC_STDIO_PRINTF_CORE_PRINTF_MAIN_H 104f4752eeSMichael Jones #define LLVM_LIBC_SRC_STDIO_PRINTF_CORE_PRINTF_MAIN_H 114f4752eeSMichael Jones 124f4752eeSMichael Jones #include "src/__support/arg_list.h" 13*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 144f4752eeSMichael Jones #include "src/stdio/printf_core/writer.h" 154f4752eeSMichael Jones 164f4752eeSMichael Jones #include <stddef.h> 174f4752eeSMichael Jones 18*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 194f4752eeSMichael Jones namespace printf_core { 204f4752eeSMichael Jones 214f4752eeSMichael Jones int printf_main(Writer *writer, const char *__restrict str, 22e1c54d4dSMichael Jones internal::ArgList &args); 234f4752eeSMichael Jones 244f4752eeSMichael Jones } // namespace printf_core 25*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 264f4752eeSMichael Jones 274f4752eeSMichael Jones #endif // LLVM_LIBC_SRC_STDIO_PRINTF_CORE_PRINTF_MAIN_H 28