refactor(shada): use msgpack_sbuffer less

Work towards getting rid of libmsgpack depedency eventually.

msgpack_sbuffer is just a string buffer, we can use our own
String type.
This commit is contained in:
bfredl
2024-06-08 14:19:30 +02:00
parent d8e384b7bf
commit 19052e0a06
13 changed files with 176 additions and 206 deletions

View File

@@ -548,10 +548,6 @@ String buf_get_text(buf_T *buf, int64_t lnum, int64_t start_col, int64_t end_col
void api_free_string(String value)
{
if (!value.data) {
return;
}
xfree(value.data);
}