[Igarden-commit] CommonSource/yaaf/Libraries/yaaf_core/headers XCoreError.h, 1.1, 1.2 XCoreMath.h,
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-02-22 02:01:21
|
Update of /cvsroot/igarden/CommonSource/yaaf/Libraries/yaaf_core/headers In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv5546 Modified Files: XCoreError.h XCoreMath.h XCoreData.h XCoreTimer.h XCoreStrings.h Log Message: Win32 changes Index: XCoreData.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/yaaf/Libraries/yaaf_core/headers/XCoreData.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XCoreData.h 1 Oct 2006 19:17:59 -0000 1.1 --- XCoreData.h 22 Feb 2007 02:01:17 -0000 1.2 *************** *** 129,136 **** */ ! extern uint16 SwapWord(uint16); ! extern uint32 SwapLong(uint32); ! extern float SwapFloat(float); ! extern double SwapDouble(double); /**@name Support--Network byte order conversion*/ --- 129,136 ---- */ ! YAAF_API uint16 SwapWord(uint16); ! YAAF_API uint32 SwapLong(uint32); ! YAAF_API float SwapFloat(float); ! YAAF_API double SwapDouble(double); /**@name Support--Network byte order conversion*/ Index: XCoreStrings.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/yaaf/Libraries/yaaf_core/headers/XCoreStrings.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XCoreStrings.h 1 Oct 2006 19:17:59 -0000 1.1 --- XCoreStrings.h 22 Feb 2007 02:01:17 -0000 1.2 *************** *** 51,78 **** /************************************************************************/ ! extern pchar *cvtc2p(char *); ! extern char *cvtp2c(pchar *); ! extern pchar *cvtc2p(pchar *, const char *); ! extern char *cvtp2c(char *, const pchar *); ! extern pchar *ncvtc2p(pchar *dest, const char *src, uint16 maxlen); ! extern char *ncvtp2c(char *dest, const pchar *src, uint16 maxlen); ! extern pchar *pstrcpy(pchar *, const pchar *); ! extern pchar *pstrcat(pchar *, const pchar *); ! extern sint16 pstrcmp(const pchar *, const pchar *); ! extern sint16 pstrncmp(const pchar *, const pchar *, uint16); ! extern char *nstrcpy(char *dest, const char *src, uint16 maxlen); ! extern char *nstrcat(char *dest, const char *src, uint16 maxlen); ! extern pchar *npstrcpy(pchar *, const pchar *, uint16 maxlen); ! extern pchar *npstrcat(pchar *, const pchar *, uint16 maxlen); ! extern sint16 stricmp(const char *, const char *); ! extern sint16 strnicmp(const char *, const char *, uint16); ! extern sint16 pstricmp(const pchar *, const pchar *); ! extern sint16 pstrnicmp(const pchar *, const pchar *, uint16); ! extern sint16 strnumcmp(const char *, const char *); ! extern sint16 strinumcmp(const char *, const char *); /************************************************************************/ --- 51,78 ---- /************************************************************************/ ! YAAF_API pchar *cvtc2p(char *); ! YAAF_API char *cvtp2c(pchar *); ! YAAF_API pchar *cvtc2p(pchar *, const char *); ! YAAF_API char *cvtp2c(char *, const pchar *); ! YAAF_API pchar *ncvtc2p(pchar *dest, const char *src, uint16 maxlen); ! YAAF_API char *ncvtp2c(char *dest, const pchar *src, uint16 maxlen); ! YAAF_API pchar *pstrcpy(pchar *, const pchar *); ! YAAF_API pchar *pstrcat(pchar *, const pchar *); ! YAAF_API sint16 pstrcmp(const pchar *, const pchar *); ! YAAF_API sint16 pstrncmp(const pchar *, const pchar *, uint16); ! YAAF_API char *nstrcpy(char *dest, const char *src, uint16 maxlen); ! YAAF_API char *nstrcat(char *dest, const char *src, uint16 maxlen); ! YAAF_API pchar *npstrcpy(pchar *, const pchar *, uint16 maxlen); ! YAAF_API pchar *npstrcat(pchar *, const pchar *, uint16 maxlen); ! YAAF_API sint16 stricmp(const char *, const char *); ! YAAF_API sint16 strnicmp(const char *, const char *, uint16); ! YAAF_API sint16 pstricmp(const pchar *, const pchar *); ! YAAF_API sint16 pstrnicmp(const pchar *, const pchar *, uint16); ! YAAF_API sint16 strnumcmp(const char *, const char *); ! YAAF_API sint16 strinumcmp(const char *, const char *); /************************************************************************/ Index: XCoreTimer.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/yaaf/Libraries/yaaf_core/headers/XCoreTimer.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XCoreTimer.h 1 Oct 2006 19:17:59 -0000 1.1 --- XCoreTimer.h 22 Feb 2007 02:01:17 -0000 1.2 *************** *** 50,57 **** /************************************************************************/ ! extern unsigned long XGGetTime(void); ! extern unsigned long XGGetDoubleClick(void); ! extern unsigned long XGGetCursorBlink(void); ! extern unsigned long XGGetSecond(void); } // namespace yaaf --- 50,57 ---- /************************************************************************/ ! YAAF_API unsigned long XGGetTime(void); ! YAAF_API unsigned long XGGetDoubleClick(void); ! YAAF_API unsigned long XGGetCursorBlink(void); ! YAAF_API unsigned long XGGetSecond(void); } // namespace yaaf Index: XCoreMath.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/yaaf/Libraries/yaaf_core/headers/XCoreMath.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XCoreMath.h 8 Oct 2006 00:10:49 -0000 1.2 --- XCoreMath.h 22 Feb 2007 02:01:17 -0000 1.3 *************** *** 73,88 **** #if 1 //(OPT_WINOS == 1) || (OPT_UNIX == 1) ! extern void SetRect(Rect *, short, short, short, short); ! extern void InsetRect(Rect *, short, short); ! extern bool EmptyRect(const Rect *); ! extern bool SectRect(const Rect *, const Rect *, Rect *out); ! extern void UnionRect(const Rect *, const Rect *, Rect *out); ! extern bool PtInRect(Point,const Rect *); ! extern void Pt2Rect(Point,Point,Rect *); #endif #if 1 //OPT_UNIX or Mac ! extern bool EqualRect(const Rect *, const Rect *); ! extern void OffsetRect(Rect *, short, short); #endif --- 73,88 ---- #if 1 //(OPT_WINOS == 1) || (OPT_UNIX == 1) ! YAAF_API void SetRect(Rect *, short, short, short, short); ! YAAF_API void InsetRect(Rect *, short, short); ! YAAF_API bool EmptyRect(const Rect *); ! YAAF_API bool SectRect(const Rect *, const Rect *, Rect *out); ! YAAF_API void UnionRect(const Rect *, const Rect *, Rect *out); ! YAAF_API bool PtInRect(Point,const Rect *); ! YAAF_API void Pt2Rect(Point,Point,Rect *); #endif #if 1 //OPT_UNIX or Mac ! YAAF_API bool EqualRect(const Rect *, const Rect *); ! YAAF_API void OffsetRect(Rect *, short, short); #endif *************** *** 93,98 **** /************************************************************************/ ! extern bool operator == (const Rect &, const Rect &); ! extern bool operator == (const Point &, const Point &); }; --- 93,98 ---- /************************************************************************/ ! YAAF_API bool operator == (const Rect &, const Rect &); ! YAAF_API bool operator == (const Point &, const Point &); }; Index: XCoreError.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/yaaf/Libraries/yaaf_core/headers/XCoreError.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XCoreError.h 1 Oct 2006 19:18:00 -0000 1.1 --- XCoreError.h 22 Feb 2007 02:01:16 -0000 1.2 *************** *** 100,104 **** */ ! extern void YAAFDebugError(const char *msg, ...); /* YAAFInlineError --- 100,104 ---- */ ! YAAF_API void YAAFDebugError(const char *msg, ...); /* YAAFInlineError *************** *** 107,111 **** */ ! extern short YAAFInlineError(const char *a, const char *f, long l); /*$ Assert --- 107,111 ---- */ ! YAAF_API short YAAFInlineError(const char *a, const char *f, long l); /*$ Assert *************** *** 173,180 **** */ ! extern ErrorCode YAAFClearErrorCode(); ! extern ErrorCode YAAFSetErrorCode(ErrorCode yErr, uint32 osErr = 0); ! extern ErrorCode YAAFGetErrorCode(); ! extern uint32 YAAFGetOSErrorCode(); } // namespace yaaf --- 173,180 ---- */ ! YAAF_API ErrorCode YAAFClearErrorCode(); ! YAAF_API ErrorCode YAAFSetErrorCode(ErrorCode yErr, uint32 osErr = 0); ! YAAF_API ErrorCode YAAFGetErrorCode(); ! YAAF_API uint32 YAAFGetOSErrorCode(); } // namespace yaaf |