commit 36224a4bbef03c097dfdb25bca731512fedba340
parent 9abb2e7c6fef15e96c392fffd576b78d47a2a344
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Sun, 2 Jan 2022 11:48:56 +0000
genqdyn doc fix (thanks obarun)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat:
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git 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.