Browse Source

docs: Clarify da_erase_range

CodeYan01 2 years ago
parent
commit
26003fdf79
1 changed files with 2 additions and 1 deletions
  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