some work on x11 ext
This commit is contained in:
+1
-1
@@ -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)])
|
||||
|
||||
Reference in New Issue
Block a user