//----------------------------------------------------------------------------// String& String::Append(const char* _str, int _length, bool _quantize) { _length = _Length(_str, _length); if (_length) { _Realloc(_length + m_buffer->length, _quantize); memcpy(m_buffer->str + m_buffer->length, _str, _length); m_buffer->length += _length; m_buffer->str[m_buffer->length] = 0; } return *this; }
void *DIGCLIENT DIGCliRealloc( void *p, size_t amount ) { _Realloc( p, amount ); return( p ); }
void *DIGCLIENTRY( Realloc )( void *p, size_t amount ) { _Realloc( p, amount ); return( p ); }