Explorar el Código

docs: Clarify da_erase_range

(cherry picked from commit 26003fdf796e09a872af6f44b00a11bd2d50f13e)
CodeYan01 hace 2 años
padre
commit
850df1058f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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