7#ifndef __DYNAMICSTRING_H__
8#define __DYNAMICSTRING_H__
void DynamicString_Clear(DynamicString *string)
Clear a DynamicString object, releasing any allocated memory. Resets to an empty string.
void DynamicString_Initialize(DynamicString *string)
Initialize a DynamicString object to an empty string.
bool DynamicString_Set(DynamicString *string, const char *s)
Set the DynamicString object to the specified string, replacing whatever is in the DynamicString obje...
bool DynamicString_Append(DynamicString *string, const char *s)
Append the specified string to the DynamicString object.
Represents a string that can be grown dynamically.
size_t length
The current length of the string.
char * string
The string that can grow.