summaryrefslogtreecommitdiff
path: root/include/swunicod.h
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:49 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:49 -0400
commit8c8aa6b07e595cfac56838b5964ab3e96051f1b2 (patch)
treeda38e2c1979148dbd3b0c7b87f930746f5ba7f44 /include/swunicod.h
parent8d3fc864d094eeadc721f8e93436b37a5fab173e (diff)
Imported Upstream version 1.5.7
Diffstat (limited to 'include/swunicod.h')
-rw-r--r--include/swunicod.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/swunicod.h b/include/swunicod.h
index af25630..3bf4e95 100644
--- a/include/swunicod.h
+++ b/include/swunicod.h
@@ -20,6 +20,9 @@
#ifndef SWUNICOD_H
#define SWUNICOD_H
+#include <defs.h>
+SWORD_NAMESPACE_START
+
/** Converts a 32-bit unsigned integer UTF-32 value into a UTF-8 encoded 1-6 byte array
* @param utf32 the UTF-32 Unicode code point value
* @param utf8 pointer to an array of 6 unsigned chars to contain the UTF-8 value
@@ -35,4 +38,6 @@ unsigned char* UTF32to8 (unsigned long utf32, unsigned char * utf8);
*/
unsigned long UTF8to32 (unsigned char * utf8, unsigned long utf32);
+SWORD_NAMESPACE_END
+
#endif