From 13d2f30a85b781127865fd52abe783ebd5a970d9 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 9 Apr 2016 17:55:12 +0000 Subject: Add platform-independent internal UTF-8 header file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/utf8_internal.h | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/utf8_internal.h (limited to 'src/utf8_internal.h') diff --git a/src/utf8_internal.h b/src/utf8_internal.h new file mode 100644 index 000000000..6d5def687 --- /dev/null +++ b/src/utf8_internal.h @@ -0,0 +1,62 @@ +/* + * "$Id$" + * + * Internal UTF-8 header file for the Fast Light Tool Kit (FLTK). + * + * Copyright 1998-2016 by Bill Spitzak and others. + * + * This library is free software. Distribution and use rights are outlined in + * the file "COPYING" which should have been included with this file. If this + * file is missing or damaged, see the license at: + * + * http://www.fltk.org/COPYING.php + * + * Please report all bugs and problems on the following page: + * + * http://www.fltk.org/str.php + */ + +/* + ---------------- + Note to editors: + ---------------- + + This file may only contain common, platform-independent function + declarations used internally in FLTK. It may be #included everywhere + in source files in the library, but not in public header files. +*/ + +#ifndef _SRC__FL_UTF8_H +#define _SRC__FL_UTF8_H + +# ifdef __cplusplus +extern "C" { +# endif + +unsigned short +XUtf8IsNonSpacing( + unsigned int ucs); + +unsigned short +XUtf8IsRightToLeft( + unsigned int ucs); + + +int +XUtf8Tolower( + int ucs); + +int +XUtf8Toupper( + int ucs); + + +# ifdef __cplusplus +} +# endif + +#endif /* _SRC__FL_UTF8_H */ + +/* + * End of "$Id$". + */ -- cgit v1.2.3