| 418 | } |
| 419 | |
| 420 | bool String::append(const String &s) |
| 421 | { |
| 422 | if (s.length()) |
| 423 | { |
| 424 | if (realloc(str_length+s.length())) |
| 425 | return TRUE; |
| 426 | memcpy(Ptr+str_length,s.ptr(),s.length()); |
| 427 | str_length+=s.length(); |
| 428 | } |
| 429 | return FALSE; |
| 430 | } |
| 431 | |
| 432 | |
| 433 | /* |
no test coverage detected