File:  [RetroPC.NET] / np2 / codecnv / codecnv.h
Revision 1.2: download - view: text, annotated - select for diffs
Sun Mar 20 15:09:16 2005 JST (20 years, 7 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix support UCS2 (T.Yui)


#if !defined(NP2_CODECNV_H__)
#define	NP2_CODECNV_H__

#ifdef __cplusplus
extern "C" {
#endif

UINT codecnv_sjistoeuc(char *dst, UINT dcnt, const char *src, UINT scnt);
UINT codecnv_sjistoucs2(UINT16 *dst, UINT dcnt, const char *src, UINT scnt);

UINT codecnv_euctosjis(char *dst, UINT dcnt, const char *src, UINT scnt);
UINT codecnv_euctoucs2(UINT16 *dst, UINT dcnt, const char *src, UINT scnt);

UINT codecnv_utf8toucs2(UINT16 *dst, UINT dcnt, const char *src, UINT scnt);

UINT codecnv_ucs2toutf8(char *dst, UINT dcnt, const UINT16 *src, UINT scnt);

#ifdef __cplusplus
}
#endif

#endif	// !defined(NP2_CODECNV_H__)


RetroPC.NET-CVS <cvs@retropc.net>