aboutsummaryrefslogtreecommitdiff
path: root/source/nds/charsets.h
diff options
context:
space:
mode:
authorKitty Draper2011-03-05 21:39:25 -0500
committerKitty Draper2011-03-05 21:39:25 -0500
commitd40ae99422e118188a7f48055dc340c6aca022aa (patch)
tree83ab93f49fd9e66e43bcd824091ae1dbcaa0c173 /source/nds/charsets.h
downloadsnes9x2005-d40ae99422e118188a7f48055dc340c6aca022aa.tar.gz
snes9x2005-d40ae99422e118188a7f48055dc340c6aca022aa.tar.bz2
snes9x2005-d40ae99422e118188a7f48055dc340c6aca022aa.zip
first commit
Diffstat (limited to 'source/nds/charsets.h')
-rw-r--r--source/nds/charsets.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/nds/charsets.h b/source/nds/charsets.h
new file mode 100644
index 0000000..28b7b7f
--- /dev/null
+++ b/source/nds/charsets.h
@@ -0,0 +1,13 @@
+#ifndef __CHARSETS_H__
+#define __CHARSETS_H__
+
+extern unsigned int charsets_utf32_conv(const unsigned char * ucs, unsigned char * cjk);
+extern unsigned int charsets_ucs_conv(const unsigned char * uni, unsigned char * cjk);
+extern void charsets_big5_conv(const unsigned char * big5, unsigned char * cjk);
+extern void charsets_sjis_conv(const unsigned char * jis, unsigned char ** cjk, unsigned int * newsize);
+extern unsigned int charsets_utf8_conv(const unsigned char * ucs, unsigned char * cjk);
+extern unsigned int charsets_utf16_conv(const unsigned char * ucs, unsigned char * cjk);
+extern unsigned int charsets_utf16be_conv(const unsigned char * ucs, unsigned char * cjk);
+extern unsigned short charsets_gbk_to_ucs(const unsigned char * cjk);
+
+#endif //__CHARSETS_H__