14:b8bf95b39952 | 15:cff9c4101dd7 |
---|---|
29 #include <stdio.h> | 29 #include <stdio.h> |
30 #include <stdlib.h> | 30 #include <stdlib.h> |
31 #include <string.h> | 31 #include <string.h> |
32 | 32 |
33 #include "strbuf.h" | 33 #include "strbuf.h" |
34 #include "../ucx/sstring.h" | 34 #include "../ucx/string.h" |
35 | 35 |
36 sbuf_t* sbuf_new(size_t size) { | 36 sbuf_t* sbuf_new(size_t size) { |
37 sbuf_t *buf = malloc(sizeof(sbuf_t)); | 37 sbuf_t *buf = malloc(sizeof(sbuf_t)); |
38 | 38 |
39 buf->ptr = malloc(size); | 39 buf->ptr = malloc(size); |