blob: 3e98ec97955c61325dc61b5d97a1c0ef8763714b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef CTIMELINE_XSTRING_H
#define CTIMELINE_XSTRING_H
#define INIT_LEN_STRING 32
typedef struct tag_string {
char *s;
int len;
int capacity;
} string;
string *string_alloc(const char *text);
void string_release(string *str);
void string_reset(string *str);
void string_addch(string *str, int ch);
#endif /* CTIMELINE_XSTRING_H */
|