[Igarden-commit] CommonSource/yaaf/Libraries/yaaf_core/headers XCoreUnicode.h, 1.1, 1.2 XCoreUtils.
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-02-22 02:05:22
|
Update of /cvsroot/igarden/CommonSource/yaaf/Libraries/yaaf_core/headers In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv7173 Modified Files: XCoreUnicode.h XCoreUtils.h Log Message: Win32 changes Index: XCoreUnicode.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/yaaf/Libraries/yaaf_core/headers/XCoreUnicode.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XCoreUnicode.h 1 Oct 2006 19:18:00 -0000 1.1 --- XCoreUnicode.h 22 Feb 2007 02:05:16 -0000 1.2 *************** *** 31,34 **** --- 31,36 ---- Contact: wo...@al... Web page: http://www.pandawave.com/yaaf/ + Some contributions by: + je...@re... **********************************************************************/ *************** *** 48,53 **** /************************************************************************/ ! extern long YAAFConvertToUTF16(unsigned short *dest, long len, const char *in); ! extern void YAAFConvertToUTF8(char *dest, long len, const unsigned short *in, long inlen); } // namespace yaaf --- 50,55 ---- /************************************************************************/ ! YAAF_API long YAAFConvertToUTF16(unsigned short *dest, long len, const char *in); ! YAAF_API void YAAFConvertToUTF8(char *dest, long len, const unsigned short *in, long inlen); } // namespace yaaf Index: XCoreUtils.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/yaaf/Libraries/yaaf_core/headers/XCoreUtils.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XCoreUtils.h 1 Oct 2006 19:17:59 -0000 1.1 --- XCoreUtils.h 22 Feb 2007 02:05:16 -0000 1.2 *************** *** 33,36 **** --- 33,38 ---- Contact: wo...@al... Web page: http://www.pandawave.com/yaaf/ + Some contributions by: + je...@re... **********************************************************************/ *************** *** 52,57 **** /************************************************************************/ ! extern bool XGGetAppVersion(char *s, uint16 maxlen); ! extern bool XGGetIndResString(uint16 resID, uint16 index, char *str, uint16 strlen); /************************************************************************/ --- 54,59 ---- /************************************************************************/ ! YAAF_API bool XGGetAppVersion(char *s, uint16 maxlen); ! YAAF_API bool XGGetIndResString(uint16 resID, uint16 index, char *str, uint16 strlen); /************************************************************************/ *************** *** 109,113 **** */ ! extern void *GetResourceData(long resType, short resID); /* GetResourceSize --- 111,115 ---- */ ! YAAF_API void *GetResourceData(long resType, short resID); /* GetResourceSize *************** *** 128,132 **** */ ! extern long GetResourceSize(long resType, short resID); //@} --- 130,134 ---- */ ! YAAF_API long GetResourceSize(long resType, short resID); //@} *************** *** 144,149 **** */ ! extern void InitResourceRefNum(); ! extern Handle GetResourceData(uint32 resType, short resID); #endif --- 146,151 ---- */ ! YAAF_API void InitResourceRefNum(); ! YAAF_API Handle GetResourceData(uint32 resType, short resID); #endif *************** *** 155,159 **** /************************************************************************/ ! extern short GetResourceMessage(short res, short index, char *smsg, char *lmsg); /************************************************************************/ --- 157,161 ---- /************************************************************************/ ! YAAF_API short GetResourceMessage(short res, short index, char *smsg, char *lmsg); /************************************************************************/ *************** *** 163,168 **** /************************************************************************/ ! extern void yformat(char *out, const char *msg, ...); ! extern void vyformat(char *out, const char *msg, va_list vlist); /************************************************************************/ --- 165,170 ---- /************************************************************************/ ! YAAF_API void yformat(char *out, const char *msg, ...); ! YAAF_API void vyformat(char *out, const char *msg, va_list vlist); /************************************************************************/ *************** *** 172,179 **** /************************************************************************/ ! extern char *aprintf(const char *format, ...); ! extern char *vaprintf(const char *format, va_list vlist); ! extern void snprintf(char *out, uint32 len, const char *format, ...); ! extern void vsnprintf(char *out, uint32 len, const char *format, va_list vlist); --- 174,181 ---- /************************************************************************/ ! YAAF_API char *aprintf(const char *format, ...); ! YAAF_API char *vaprintf(const char *format, va_list vlist); ! YAAF_API void snprintf(char *out, uint32 len, const char *format, ...); ! YAAF_API void vsnprintf(char *out, uint32 len, const char *format, va_list vlist); |