mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-24 06:50:43 -04:00
7ef1810132
* m_Do_main / f_ap_game debug stuff * revolution sdk compatibility * f_op_actor debug work * rename fopAcM_SetupActor to fopAcM_ct * fix build * fix jp/pal splits
28 lines
545 B
C
28 lines
545 B
C
#ifndef _DOLPHIN_OSUTF_H_
|
|
#define _DOLPHIN_OSUTF_H_
|
|
|
|
#ifdef __REVOLUTION_SDK__
|
|
#include <revolution/os/OSUtf.h>
|
|
#else
|
|
#include <dolphin/types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
char* OSUTF8to32(const char* utf8, u32* utf32);
|
|
char* OSUTF32to8(u32 utf32, char* utf8);
|
|
u16* OSUTF16to32(const u16* utf16, u32* utf32);
|
|
u16* OSUTF32to16(u32 utf32, u16* utf16);
|
|
u8 OSUTF32toANSI(u32 utf32);
|
|
u32 OSANSItoUTF32(u8 ansi);
|
|
u16 OSUTF32toSJIS(u32 utf32);
|
|
u32 OSSJIStoUTF32(u16 sjis);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
#endif // _DOLPHIN_OSUTF_H_
|