Discussion:
[vlc-commits] vector: fix parameter documentation in vlc_vector_reallocdata_
Alexandre Janniaux
2018-12-09 19:46:13 UTC
Permalink
vlc | branch: master | Alexandre Janniaux <***@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.
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 *

Loading...