[vlc-commits] vector: fix parameter documentation in vlc_vector_reallocdata_

Alexandre Janniaux git at videolan.org
Sun Dec 9 20:46:13 CET 2018


vlc | branch: master | Alexandre Janniaux <alexandre.janniaux at gmail.com> | Sun Dec  9 15:50:29 2018 +0100| [9eb382ea8cd4cafc03280f6a4af294d5ed1d950c] | committer: Rémi Denis-Courmont

vector: fix parameter documentation in vlc_vector_reallocdata_

The first word after \param tag designates the parameter.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9eb382ea8cd4cafc03280f6a4af294d5ed1d950c
---

 include/vlc_vector.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/vlc_vector.h b/include/vlc_vector.h
index 2f6070c763..ccb580f893 100644
--- a/include/vlc_vector.h
+++ b/include/vlc_vector.h
@@ -156,10 +156,10 @@ vlc_vector_enforce_size_t_(size_t value)
  * Private.
  *
  * \param ptr the current data to realloc
- * \param the requested capacity, in number of items
- * \param the size of one item
- * \pcap a pointer to the `cap` field of the vector [IN/OUT]
- * \pcap a pointer to the `size` field of the vector [IN/OUT]
+ * \param count the requested capacity, in number of items
+ * \param size the size of one item
+ * \param pcap a pointer to the `cap` field of the vector [IN/OUT]
+ * \param psize a pointer to the `size` field of the vector [IN/OUT]
  * \return the reallocated array, or `ptr` if reallocation failed
  */
 static inline void *



More information about the vlc-commits mailing list