提交 e23a2087 编写于 作者: J jp9000

libobs/util: Rename da_swap_item to da_swap

The name was inconsistent with the darray_swap function that it's a
macro for.
上级 2c8887b5
......@@ -521,7 +521,7 @@ static inline void darray_swap(const size_t element_size,
#define da_move_item(v, from, to) \
darray_move_item(sizeof(*v.array), &v.da, from, to)
#define da_swap_item(v, idx1, idx2) \
#define da_swap(v, idx1, idx2) \
darray_swap(sizeof(v.array), &v.da, idx1, idx2)
#ifdef __cplusplus
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册