91:fac51f87def0 | 92:382bff43c6eb |
---|---|
28 | 28 |
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 <ucx/string.h> | |
34 | |
33 #include "strbuf.h" | 35 #include "strbuf.h" |
34 #include "../ucx/string.h" | 36 |
35 | 37 |
36 sbuf_t* sbuf_new(size_t size) { | 38 sbuf_t* sbuf_new(size_t size) { |
37 sbuf_t *buf = malloc(sizeof(sbuf_t)); | 39 sbuf_t *buf = malloc(sizeof(sbuf_t)); |
38 | 40 |
39 buf->ptr = malloc(size); | 41 buf->ptr = malloc(size); |