argpar.h: argpar_iter_create(): add iterator lifetime details
[argpar.git] / argpar / argpar.h
index 9da99d3324ead19564e0c2dbf4d6d0eccbf52c4c..453f53385eec786140b425eae1f9d157b2cbeda1 100644 (file)
@@ -290,7 +290,9 @@ void argpar_parse_ret_fini(struct argpar_parse_ret *ret);
  * actually start parsing the arguments.
  *
  * `*argv` and `*descrs` must NOT change for the lifetime of the
- * returned iterator (until you call argpar_iter_destroy()).
+ * returned iterator (until you call argpar_iter_destroy()) and for the
+ * lifetime of any parsing item (until you call argpar_item_destroy())
+ * argpar_iter_next() creates for the returned iterator.
  *
  * Call argpar_iter_next() with the returned iterator to obtain the next
  * parsing result (item).
This page took 0.022498 seconds and 4 git commands to generate.