summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-01-05 20:04:57 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-01-05 20:04:57 +0000
commit2b0ab2120becaa40b777e7c43bfa57cb0397e3a9 (patch)
treef20e09817ee647b750fb0e59d8cc543301b29a3e /doc
parent60ab25645e64e5e054d9b101091e3b1abd87d36e (diff)
downloadskalibs-2b0ab2120becaa40b777e7c43bfa57cb0397e3a9.tar.xz
Add bitarray_first{clear,set}_skip (thx jjk)
version: rc for 2.3.9.0 after Makefile fix
Diffstat (limited to 'doc')
-rw-r--r--doc/index.html2
-rw-r--r--doc/libstddjb/bitarray.html14
-rw-r--r--doc/upgrade.html7
3 files changed, 22 insertions, 1 deletions
diff --git a/doc/index.html b/doc/index.html
index d310551..3606019 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -60,7 +60,7 @@ with a standard C development environment </li>
<h3> Download </h3>
<ul>
- <li> The current released version of skalibs is <a href="skalibs-2.3.8.3.tar.gz">2.3.8.3</a>. </li>
+ <li> The current released version of skalibs is <a href="skalibs-2.3.9.0.tar.gz">2.3.9.0</a>. </li>
<li> Alternatively, you can checkout a copy of the skalibs git repository:
<pre> git clone git://git.skarnet.org/skalibs </pre> </li>
</ul>
diff --git a/doc/libstddjb/bitarray.html b/doc/libstddjb/bitarray.html
index 03f81df..0695ff1 100644
--- a/doc/libstddjb/bitarray.html
+++ b/doc/libstddjb/bitarray.html
@@ -123,10 +123,24 @@ the total number of bits. If all bits in <em>s</em> are set, <em>len</em> is ret
</p>
<p>
+<code> unsigned int bitarray_firstclear_skip (unsigned char const *s, unsigned int len, unsigned int skip) </code> <br />
+Like <tt>bitarray_firstclear</tt>, but the first <em>skip</em> bits are
+ignored: the function cannot return less than <em>skip</em>. It is a
+programming error if <em>skip</em> &gt; <em>len</em>.
+</p>
+
+<p>
<code> unsigned int bitarray_firstset (unsigned char const *s, unsigned int len) </code> <br />
Returns the number of the first set bit in <em>s</em>, <em>len</em> being
the total number of bits. If all bits in <em>s</em> are clear, <em>len</em> is returned.
</p>
+<p>
+<code> unsigned int bitarray_firstset_skip (unsigned char const *s, unsigned int len, unsigned int skip) </code> <br />
+Like <tt>bitarray_firstset</tt>, but the first <em>skip</em> bits are
+ignored: the function cannot return less than <em>skip</em>. It is a
+programming error if <em>skip</em> &gt; <em>len</em>.
+</p>
+
</body>
</html>
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 53b65a1..d67960f 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,6 +18,13 @@
<h1> What has changed in skalibs </h1>
+<h2> in 2.3.9.0 </h2>
+
+<ul>
+ <li> New functions: <tt>bitarray_firstclear_skip</tt> and
+<tt>bitarray_firstset_skip</tt>. </li>
+</ul>
+
<h2> in 2.3.8.3 </h2>
<ul>