more fixes, leaks and compile errors

This commit is contained in:
hexcoder-
2020-11-12 23:47:49 +01:00
parent 35fd6847fe
commit 4a4c14c9a9
7 changed files with 19 additions and 6 deletions

View File

@ -13,7 +13,7 @@
#define BUF_VAR(type, name) \
type * name##_buf; \
size_t name##_size;
/* this filles in `&structptr->something_buf, &structptr->something_size`. */
/* this fills in `&structptr->something_buf, &structptr->something_size`. */
#define BUF_PARAMS(struct, name) \
(void **)&struct->name##_buf, &struct->name##_size