xref: /freebsd/contrib/llvm-project/libc/shared/str_to_integer.h (revision 8f6978f83cc64a2e644d9bdf380a6996d3acdc4b)
1 //===-- String to int conversion utils --------------------------*- C++ -*-===//
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 #ifndef LLVM_LIBC_SHARED_STR_TO_INTEGER_H
10 #define LLVM_LIBC_SHARED_STR_TO_INTEGER_H
11 
12 #include "libc_common.h"
13 #include "src/__support/str_to_integer.h"
14 
15 namespace LIBC_NAMESPACE_DECL {
16 namespace shared {
17 
18 using LIBC_NAMESPACE::StrToNumResult;
19 
20 using internal::strtointeger;
21 
22 } // namespace shared
23 } // namespace LIBC_NAMESPACE_DECL
24 
25 #endif // LLVM_LIBC_SHARED_STR_TO_INTEGER_H
26