浏览代码

docs: Clarify da_erase_range

CodeYan01 2 年之前
父节点
当前提交
26003fdf79
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/sphinx/reference-libobs-util-darray.rst

+ 2 - 1
docs/sphinx/reference-libobs-util-darray.rst

@@ -236,7 +236,8 @@ dynamic array value with a reference (&) operator.  For example:
 
 .. function:: void da_erase_range(da, size_t start_idx, size_t end_idx)
 
-   Erases a range of values.
+   Erases a range of values, including the element at ``start_idx``, but
+   not the one at ``end_idx``.
 
    :param da:        The dynamic array
    :param start_idx: The starting index