From 04905aaeffba2bc77866a4056dc3f2020a86bb26 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 8 Mar 2017 09:39:11 +0000 Subject: Update documentation for the types change, with some extra fixes Also remove --enable-replace-libc from configure --- doc/libstddjb/bitarray.html | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'doc/libstddjb/bitarray.html') diff --git a/doc/libstddjb/bitarray.html b/doc/libstddjb/bitarray.html index 0695ff1..b727975 100644 --- a/doc/libstddjb/bitarray.html +++ b/doc/libstddjb/bitarray.html @@ -47,69 +47,69 @@ can grow in size should be stored in a

Functions

- unsigned int bitarray_div8 (unsigned int n)
+ size_t bitarray_div8 (size_t n)
Returns the minimum number of bytes needed to store a field of n bits.

- void bitarray_clearsetn (unsigned char *s, unsigned int start, unsigned int len, int h)
+ void bitarray_clearsetn (unsigned char *s, size_t start, size_t len, int h)
Sets (if h is nonzero) or clears (if h is zero) len bits in field s, starting at bit start.

- void bitarray_clearn (unsigned char *s, unsigned int start, unsigned int len)
+ void bitarray_clearn (unsigned char *s, size_t start, size_t len)
Clears len bits in field s, starting at bit start.

- void bitarray_setn (unsigned char *s, unsigned int start, unsigned int len)
+ void bitarray_setn (unsigned char *s, size_t start, size_t len)
Sets len bits in field s, starting at bit start.

- int bitarray_peek (unsigned char const *s, unsigned int n)
+ int bitarray_peek (unsigned char const *s, size_t n)
Returns the value of the nth bit in field s.

- void bitarray_poke (unsigned char *s, unsigned int n, int h)
+ void bitarray_poke (unsigned char *s, size_t n, int h)
Sets (if h is nonzero) or clears (if h is zero) the nth bit in field s.

- void bitarray_clear (unsigned char *s, unsigned int n)
+ void bitarray_clear (unsigned char *s, size_t n)
Clears the nth bit in field s.

- void bitarray_set (unsigned char *s, unsigned int n)
+ void bitarray_set (unsigned char *s, size_t n)
Sets the nth bit in field s.

- int bitarray_testandpoke (unsigned char *s, unsigned int n, int h)
+ int bitarray_testandpoke (unsigned char *s, size_t n, int h)
Sets (if h is nonzero) or clears (if h is zero) the nth bit in field s, and returns the previous value of that bit.

- int bitarray_testandclear (unsigned char *s, unsigned int n)
+ int bitarray_testandclear (unsigned char *s, size_t n)
Clear the nth bit in field s, and returns the previous value of that bit.

- int bitarray_testandset (unsigned char *s, unsigned int n)
+ int bitarray_testandset (unsigned char *s, size_t n)
Sets the nth bit in field s, and returns the previous value of that bit.

- unsigned int bitarray_first (unsigned char const *s, unsigned int len, int h)
+ size_t bitarray_first (unsigned char const *s, size_t len, int h)
Returns the number of the first set (if h is nonzero) or clear (if h is zero) bit in s, len being the total number of bits. If all bits in s are the negation of @@ -117,26 +117,26 @@ the total number of bits. If all bits in s are the negation of

- unsigned int bitarray_firstclear (unsigned char const *s, unsigned int len)
+ size_t bitarray_firstclear (unsigned char const *s, size_t len)
Returns the number of the first clear bit in s, len being the total number of bits. If all bits in s are set, len is returned.

- unsigned int bitarray_firstclear_skip (unsigned char const *s, unsigned int len, unsigned int skip)
+ size_t bitarray_firstclear_skip (unsigned char const *s, size_t len, size_t skip)
Like bitarray_firstclear, but the first skip bits are ignored: the function cannot return less than skip. It is a programming error if skip > len.

- unsigned int bitarray_firstset (unsigned char const *s, unsigned int len)
+ size_t bitarray_firstset (unsigned char const *s, size_t len)
Returns the number of the first set bit in s, len being the total number of bits. If all bits in s are clear, len is returned.

- unsigned int bitarray_firstset_skip (unsigned char const *s, unsigned int len, unsigned int skip)
+ size_t bitarray_firstset_skip (unsigned char const *s, size_t len, size_t skip)
Like bitarray_firstset, but the first skip bits are ignored: the function cannot return less than skip. It is a programming error if skip > len. -- cgit v1.3.1