From 26003fdf796e09a872af6f44b00a11bd2d50f13e Mon Sep 17 00:00:00 2001 From: CodeYan01 <65320293+CodeYan01@users.noreply.github.com> Date: Fri, 9 Jun 2023 15:00:05 +0800 Subject: [PATCH] docs: Clarify da_erase_range --- docs/sphinx/reference-libobs-util-darray.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sphinx/reference-libobs-util-darray.rst b/docs/sphinx/reference-libobs-util-darray.rst index 09365b4d2..cebace95a 100644 --- a/docs/sphinx/reference-libobs-util-darray.rst +++ b/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