summaryrefslogtreecommitdiff
path: root/include/Strings/Character.h
blob: 134d901f0fc8ef7e89fc2cdb8ef3c7b1cc2345a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//===--- Character.h - Character library  ------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_LIBFLANG_STRINGS_CHARACTER_H
#define LLVM_LIBFLANG_STRINGS_CHARACTER_H

#include <stdint.h>
#include "Libflang.h"


LIBFLANG_ABI void libflang_assignment_char1(char *LHS, size_t LHSLength,
                                            char *RHS, size_t RHSLength);
LIBFLANG_ABI void libflang_concat_char1(char *Dest, size_t DestLength,
                                        char *LHS, size_t LHSLength,
                                        char *RHS, size_t RHSLength);
LIBFLANG_ABI int32_t libflang_compare_char1(const char *LHS, size_t LHSLength,
                                            const char *RHS, size_t RHSLength);

// intrinsics

LIBFLANG_ABI int32_t libflang_lexcompare_char1(const char *LHS, size_t LHSLength,
                                               const char *RHS, size_t RHSLength);
LIBFLANG_ABI size_t libflang_lentrim_char1(const char *String, size_t Length);

#endif