#ifndef SK_STR_H #define SK_STR_H #include #include #include #include #include struct str { size_t size; size_t capacity; char* value; }; void str_init(struct str* self); void str_free(struct str* self); void str_push(struct str* self, char c); void str_extend(struct str* self, char* src); void str_format(struct str* self, char const* format, ...); #endif