add XP_STRCAT

This commit is contained in:
ehouse 2004-04-30 08:37:30 +00:00
parent 653e428ef6
commit d71e6a5a75
2 changed files with 2 additions and 0 deletions

View file

@ -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()

View file

@ -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))