4
4
/**
5
5
* The strvec API allows one to dynamically build and store
6
6
* NULL-terminated arrays of strings. A strvec maintains the invariant that the
7
- * `items ` member always points to a non-NULL array, and that the array is
8
- * always NULL-terminated at the element pointed to by `items [nr]`. This
7
+ * `v ` member always points to a non-NULL array, and that the array is
8
+ * always NULL-terminated at the element pointed to by `v [nr]`. This
9
9
* makes the result suitable for passing to functions expecting to receive
10
10
* argv from main().
11
11
*
@@ -22,7 +22,7 @@ extern const char *empty_strvec[];
22
22
23
23
/**
24
24
* A single array. This should be initialized by assignment from
25
- * `STRVEC_INIT`, or by calling `strvec_init`. The `items `
25
+ * `STRVEC_INIT`, or by calling `strvec_init`. The `v `
26
26
* member contains the actual array; the `nr` member contains the
27
27
* number of elements in the array, not including the terminating
28
28
* NULL.
@@ -80,7 +80,7 @@ void strvec_split(struct strvec *, const char *);
80
80
void strvec_clear (struct strvec * );
81
81
82
82
/**
83
- * Disconnect the `items ` member from the `strvec` struct and
83
+ * Disconnect the `v ` member from the `strvec` struct and
84
84
* return it. The caller is responsible for freeing the memory used
85
85
* by the array, and by the strings it references. After detaching,
86
86
* the `strvec` is in a reinitialized state and can be pushed
0 commit comments