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" 134f4752eeSMichael Jones #include "src/stdio/printf_core/writer.h" 144f4752eeSMichael Jones 154f4752eeSMichael Jones #include <stddef.h> 164f4752eeSMichael Jones 174f4752eeSMichael Jones namespace __llvm_libc { 184f4752eeSMichael Jones namespace printf_core { 194f4752eeSMichael Jones 204f4752eeSMichael Jones int printf_main(Writer *writer, const char *__restrict str, 21*e1c54d4dSMichael Jones internal::ArgList &args); 224f4752eeSMichael Jones 234f4752eeSMichael Jones } // namespace printf_core 244f4752eeSMichael Jones } // namespace __llvm_libc 254f4752eeSMichael Jones 264f4752eeSMichael Jones #endif // LLVM_LIBC_SRC_STDIO_PRINTF_CORE_PRINTF_MAIN_H 27