9 #define FB_TEMPSTRBIT 0x8000000000000000ll
11 #define FB_TEMPSTRBIT 0x80000000
16 #define FB_ISTEMP(s) ((((FBSTRING *)s)->len & FB_TEMPSTRBIT) != 0)
20 #define FB_STRSIZE(s) (((FBSTRING *)s)->len & ~FB_TEMPSTRBIT)
24 #define FB_STRPTR(s,size) \
25 ( s == NULL? NULL : ( size == -1? ((FBSTRING *)s)->data : (char *)s ) )
27 #define FB_STRSETUP_FIX(s,size,ptr,len) \
38 ptr = ((FBSTRING *)s)->data; \
39 len = FB_STRSIZE( s ); \
46 len = strlen( (char *)s ); \
51 #define FB_STRSETUP_DYN(s,size,ptr,len) \
62 ptr = ((FBSTRING *)s)->data; \
63 len = FB_STRSIZE( s ); \
67 len = strlen( ptr ); \
120 FBCALL void *
fb_StrInit (
void *dst, ssize_t dst_size,
void *src, ssize_t src_size,
int fill_rem );
121 FBCALL void *
fb_StrAssign (
void *dst, ssize_t dst_size,
void *src, ssize_t src_size,
int fill_rem );
147 #define FB_F2A_ADDBLANK 0x00000001