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:
2022-07-04 23:24:54 -05:00
parent 50655fbc1a
commit 5b5036b996
3 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -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);