1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - WM - demos - dataShare-Model 3 File: unicode.h 4 5 Copyright 2006-2008 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Date:: 2008-09-18#$ 14 $Rev: 8573 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef __UNICODE_H_ 19 #define __UNICODE_H_ 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 #ifdef SDK_TWL 26 #include <twl.h> 27 #else 28 #include <nitro.h> 29 #endif 30 31 // define data---------------------------------- 32 33 // function's prototype declaration------------- 34 void ExSJIS_BEtoUTF16_LE(u8 *sjisp, u16 *unip, u16 length); 35 void ExUTF16_LEtoSJIS_BE(u8 *sjisp, u16 *unip, u16 length); 36 void CheckSJIS_BEtoUTF16_LE(void); 37 38 39 #ifdef __cplusplus 40 } 41 #endif 42 43 #endif // __UNICODE_H_ 44