diff options
author | arphaman <arphaman@gmail.com> | 2013-07-12 18:02:33 +0100 |
---|---|---|
committer | arphaman <arphaman@gmail.com> | 2013-07-12 18:02:33 +0100 |
commit | 7e433007c5e8dda8a993c279d86402257595d8e3 (patch) | |
tree | 653b29696194cad7d3ef83d8f074ded671f8a3ac /include | |
parent | 2dac284ac70786befe1907dfde11dbd95c3d6805 (diff) | |
download | libflangrt-7e433007c5e8dda8a993c279d86402257595d8e3.tar.gz |
added character functions
Diffstat (limited to 'include')
-rw-r--r-- | include/Strings/Character.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/Strings/Character.h b/include/Strings/Character.h new file mode 100644 index 0000000..7c67577 --- /dev/null +++ b/include/Strings/Character.h @@ -0,0 +1,31 @@ +//===--- Core.h - Core 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 |