]> Pileus Git - ~andy/git/blobdiff - Documentation/technical/api-argv-array.txt
argv-array: add pop function
[~andy/git] / Documentation / technical / api-argv-array.txt
index 49b3d529526ebc109b380c9cb203a38571c5b15c..1a797812fb426189b03a814498dd7019c96607b4 100644 (file)
@@ -37,10 +37,19 @@ Functions
 `argv_array_push`::
        Push a copy of a string onto the end of the array.
 
+`argv_array_pushl`::
+       Push a list of strings onto the end of the array. The arguments
+       should be a list of `const char *` strings, terminated by a NULL
+       argument.
+
 `argv_array_pushf`::
        Format a string and push it onto the end of the array. This is a
        convenience wrapper combining `strbuf_addf` and `argv_array_push`.
 
+`argv_array_pop`::
+       Remove the final element from the array. If there are no
+       elements in the array, do nothing.
+
 `argv_array_clear`::
        Free all memory associated with the array and return it to the
        initial, empty state.