Initial commit

This commit is contained in:
2022-06-30 21:31:28 -05:00
commit e79d4aa00a
4 changed files with 177 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef TSTRING_H
#define TSTRING_H
#include "stdlib.h"
#ifndef DEFAULT_TSTRING_BYTE_BUFFER
#define DEFAULT_TSTRING_BYTE_BUFFER 32
#endif
typedef struct __tstring TString;
TString* TStringCreate(void);
void TStringAppendText(const char* text, TString* string);
char* TStringGetString(const TString* string);
void TStringGetGlyph(int index, char buffer[8], const TString* string);
void TStringFree(TString* string);
#endif