char * Memento_TextObject_GetText(Memento_TextObject *textObject)
Retrieve a pointer to the text contained within the Memento_TextObject. The text can be altered throu...
void Memento_TextObject_Destroy(Memento_TextObject *textObject)
Destroy the given Memento_TextObject object and release any used memory. After this function returns,...
Memento_TextObject * Memento_TextObject_Create(const char *text)
Create a new instance of the Memento_TextObject structure and initialize it with the given text.
void Memento_TextObject_SetText(Memento_TextObject *textObject, const char *newText)
Replace the existing text in the Memento_TextObject object with the given text.
const char * Memento_TextObject_ToString(Memento_TextObject *textObject)
Return a string representation of the Memento_TextObject. In this case, it is just the underlying tex...
char * text
The text object contained within this Memento_TextObject.