mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
fix order for 1-byte args
This commit is contained in:
parent
27dc6ce932
commit
92a7673286
1 changed files with 10 additions and 7 deletions
|
@ -6,16 +6,19 @@
|
|||
#ifdef XW_TARGET_PNO
|
||||
|
||||
#include "pnostate.h"
|
||||
#include "xptypes.h"
|
||||
|
||||
extern Int16 StrPrintF( Char* s, const Char* formatStr, ... );
|
||||
extern Int16 StrVPrintF( Char* s, const Char* formatStr, _Palm_va_list arg );
|
||||
extern void TimSecondsToDateTime( UInt32 seconds, DateTimeType* dateTimeP );
|
||||
|
||||
|
||||
/* #define FUNC_HEADER(n) printf( "%s called", #n ); */
|
||||
/* #define FUNC_TAIL(n) printf( "%s done", #n ); */
|
||||
#define FUNC_HEADER(n)
|
||||
#define FUNC_TAIL(n)
|
||||
#if 0
|
||||
# define FUNC_HEADER(n) XP_LOGF( #n " called" )
|
||||
# define FUNC_TAIL(n) XP_LOGF( #n " done" )
|
||||
#else
|
||||
# define FUNC_HEADER(n)
|
||||
# define FUNC_TAIL(n)
|
||||
#endif
|
||||
|
||||
#define ADD_TO_STACK4(val,offset) \
|
||||
(unsigned char)(((unsigned long)val) >> 24), \
|
||||
|
@ -28,8 +31,8 @@ extern void TimSecondsToDateTime( UInt32 seconds, DateTimeType* dateTimeP );
|
|||
(unsigned char)(((unsigned short)val) >> 0)
|
||||
|
||||
#define ADD_TO_STACK1(val,offset) \
|
||||
(unsigned char)(0), \
|
||||
(unsigned char)((val) >> 0)
|
||||
(unsigned char)(val), \
|
||||
(unsigned char)(0)
|
||||
|
||||
PNOState* getStorageLoc();
|
||||
#define GET_CALLBACK_STATE() getStorageLoc()
|
||||
|
|
Loading…
Reference in a new issue