some work on x11 ext

This commit is contained in:
veclavtlica
2026-10-13 04:30:06 +03:00
parent 964e623644
commit 5789cafd4e
13 changed files with 262 additions and 144 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ typedef struct com_buf {
struct com_buf *p_v = (struct com_buf *)&p_v##_buf; \
p_v->cap = (p_c); \
p_v->flags = p_f | COM_BUF_STACK; \
p_v->typesz = sizeof(p_t);
p_v->typesz = sizeof(p_t)
#define com_buf_index_as(p_t, p_v, p_i) \
(p_t *)(&(p_v)->data[sizeof(p_t) * (p_i)])