Some code clean up, started work on functions to insert text, but they're incomplete.
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
#ifndef TSTRING_H
|
||||
#define TSTRING_H
|
||||
|
||||
#include "stdlib.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef DEFAULT_TSTRING_BYTE_BUFFER
|
||||
#define DEFAULT_TSTRING_BYTE_BUFFER 32
|
||||
#endif
|
||||
@@ -13,11 +8,12 @@
|
||||
typedef struct __tstring TString;
|
||||
|
||||
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 TStringInsertText(const char* text, int index, TString* string);
|
||||
//void TStringRemove(int index, TString* string);
|
||||
char* TStringGetString(const TString* string);
|
||||
int TStringLength(const TString* string);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user