blob: 60b0cb97399ea5896dc0f4b5c5668209cf22cee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
typedef struct {
size_t len;
size_t _bytes; //may be used in the future
char* c;
} str;
str* str_init(char*);
void str_free(str*);
void str_push(str*, char*);
void str_pushl(str*, char*, size_t);
void str_clear(str*);
|