summaryrefslogtreecommitdiff
path: root/src/utf8_internal.h
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-04-09 17:55:12 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-04-09 17:55:12 +0000
commit13d2f30a85b781127865fd52abe783ebd5a970d9 (patch)
tree36c01ecf687d6024ab0987174505ad4986a3da02 /src/utf8_internal.h
parent6dff22f7ff5bfb785897b7301b321de070d29b18 (diff)
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
Diffstat (limited to 'src/utf8_internal.h')
-rw-r--r--src/utf8_internal.h62
1 files changed, 62 insertions, 0 deletions
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$".
+ */