Minor refactoring. Added a flag in the TString details function to only print some basic stats instead of always showing the stored string and the byte representation.
This commit is contained in:
@@ -11,7 +11,7 @@ TString* TStringCreate(void);
|
||||
void TStringAppendText(const char* text, TString* string);
|
||||
void TStringGetGlyph(int index, char buffer[8], const TString* string);
|
||||
void TStringFree(TString* string);
|
||||
void TStringPrintDetails(const TString* string);
|
||||
void TStringPrintDetails(const TString* string, int statsOnly);
|
||||
void TStringInsertText(const char* text, int index, TString* string);
|
||||
void TStringPop(char buffer[8], TString* string);
|
||||
char* TStringGetString(const TString* string);
|
||||
|
||||
Reference in New Issue
Block a user