summaryrefslogtreecommitdiff
path: root/include/swunicod.h
diff options
context:
space:
mode:
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