40 #if defined __cplusplus
52 if( ( gStr->
gStr = (
char*)
xData_malloc2( smr, size + 1, 0,
"gStr->gStr" ) ) == NULL )
return( 1 );
81 if( gStr->
gStr != NULL ) {
92 int n, size = strlen( str );
94 if( gStr->
gStr == NULL ) {
98 if( n < size ) n = size;
103 strcpy( &(gStr->
gStr[gStr->
length - 1]), str );
113 return( gStr->
gStr );
140 #if defined __cplusplus
int gString_length(statusMessageReporting *smr, gString *gStr)
char const * gString_string(statusMessageReporting *smr, gString *gStr)
int gString_release(statusMessageReporting *smr, gString *gStr)
#define xData_malloc2(smr, size, zero, forItem)
int gString_addTo(statusMessageReporting *smr, gString *gStr, char const *str)
int gString_initialize(statusMessageReporting *smr, gString *gStr, int size, int increment)
#define xData_realloc2(smr, old, size, forItem)
int gString_increment(statusMessageReporting *smr, gString *gStr)
int gString_allocated(statusMessageReporting *smr, gString *gStr)
int gString_clear(statusMessageReporting *smr, gString *gStr)
#define gString_minIncrement