[vlc-devel] [PATCH 2/3] vector: fix parameter documentation in vlc_vector_reallocdata_

Alexandre Janniaux alexandre.janniaux at gmail.com
Sun Dec 9 15:50:29 CET 2018


The first word after \param tag designates the parameter.
---
 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 *
-- 
2.19.2



More information about the vlc-devel mailing list