about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-01-02 11:48:56 +0000
committerLaurent Bercot <ska@appnovation.com>2022-01-02 11:48:56 +0000
commit36224a4bbef03c097dfdb25bca731512fedba340 (patch)
treea69b03c6f28f747f79966d56df043ac55a0cb1ed /doc
parent9abb2e7c6fef15e96c392fffd576b78d47a2a344 (diff)
downloadskalibs-36224a4bbef03c097dfdb25bca731512fedba340.tar.gz
skalibs-36224a4bbef03c097dfdb25bca731512fedba340.tar.xz
skalibs-36224a4bbef03c097dfdb25bca731512fedba340.zip
genqdyn doc fix (thanks obarun)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/libdatastruct/genqdyn.html10
1 files changed, 1 insertions, 9 deletions
diff --git a/doc/libdatastruct/genqdyn.html b/doc/libdatastruct/genqdyn.html
index 4f1c8f1..ad94033 100644
--- a/doc/libdatastruct/genqdyn.html
+++ b/doc/libdatastruct/genqdyn.html
@@ -78,7 +78,7 @@ You can use the <tt>GENQDYN_PEEK(type, g)</tt> macro to get a
 <h2> Functions </h2>
 
 <p>
-<code> void genqdyn_init (genqdyn *g, size_t esize, unsigned int den, unsigned int den) </code> <br />
+<code> void genqdyn_init (genqdyn *g, size_t esize, unsigned int num, unsigned int den) </code> <br />
 Initializes the genqdyn <em>*g</em> to hold objects of size <em>esize</em>.
 <em>g</em> must be unused, or have been freed. The <em>num</em> and <em>den</em>
 arguments tune <em>g</em>'s behaviour as described above in the GENQDYN_INIT
@@ -88,14 +88,6 @@ macro can only be used as a static initializer.
 </p>
 
 <p>
-<code> void genqdyn_init (genqdyn *g, size_t esize, unsigned int den, unsigned int den) </code> <br />
-Initializes the genqdyn <em>*g</em> to hold objects of size <em>esize</em>.
-<em>g</em> must be unused, or have been freed. The <em>num</em> and <em>den</em>
-arguments tune <em>g</em>'s behaviour as described above in the GENQDYN_INIT
-description.
-</p>
-
-<p>
 <code> void genqdyn_free (genqdyn *g) </code> <br />
 Frees the resources used by <em>*g</em>, which is then considered
 uninitialized.