mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
add XP_STRCAT
This commit is contained in:
parent
653e428ef6
commit
d71e6a5a75
2 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,7 @@ extern void p_ignore(char*, ...);
|
|||
#define XP_MEMCPY(d,s,l) memcpy((d),(s),(l))
|
||||
#define XP_MEMCMP( a1, a2, l ) memcmp((a1),(a2),(l))
|
||||
#define XP_STRLEN(s) strlen(s)
|
||||
#define XP_STRCAT(d,s) strcat((d),(s))
|
||||
#define XP_STRNCMP(s1,s2,len) strncmp((s1),(s2),(len))
|
||||
#define XP_STRCMP(s1,s2) strcmp((s1),(s2))
|
||||
#define XP_RANDOM() random()
|
||||
|
|
|
@ -76,6 +76,7 @@ XP_U8* palm_realloc(XP_U8* in, XP_U16 size);
|
|||
#define XP_STRNCMP(s1,s2,l) StrNCompare((const char*)(s1), \
|
||||
(const char*)(s2),(l))
|
||||
#define XP_STRCMP(s1,s2) StrCompare((s1),(s2))
|
||||
#define XP_STRCAT(d,s) StrCat((d),(s))
|
||||
#define XP_SNPRINTF palm_snprintf
|
||||
|
||||
#define XP_MIN(a,b) ((a)<(b)?(a):(b))
|
||||
|
|
Loading…
Add table
Reference in a new issue