diff options
author | Martin Grabmüller <mgrabmue@cs.tu-berlin.de> | 2001-02-17 11:25:34 +0000 |
---|---|---|
committer | Martin Grabmüller <mgrabmue@cs.tu-berlin.de> | 2001-02-17 11:25:34 +0000 |
commit | c7eb87615a23ab34304cff858eb6dfc4bc56d659 (patch) | |
tree | 038bcd2cbaaebbb26383d1bb4b5f0dafb21a100d /libguile/unif.c | |
parent | 647e35e27c4073bf1c07aa877e01450b86acab6e (diff) | |
download | guile-c7eb87615a23ab34304cff858eb6dfc4bc56d659.tar.gz |
(scm_bit_count, scm_bit_set_star_x): Added texinfo markup.
Diffstat (limited to 'libguile/unif.c')
-rw-r--r-- | libguile/unif.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/libguile/unif.c b/libguile/unif.c index 889189ea7..b9987c36d 100644 --- a/libguile/unif.c +++ b/libguile/unif.c @@ -1745,8 +1745,9 @@ static char cnt_tab[16] = {0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4}; SCM_DEFINE (scm_bit_count, "bit-count", 2, 0, 0, - (SCM b, SCM bitvector), - "Returns the number of occurrences of the boolean B in BITVECTOR.") + (SCM b, SCM bitvector), + "Returns the number of occurrences of the boolean @var{b} in\n" + "@var{bitvector}.") #define FUNC_NAME s_scm_bit_count { SCM_VALIDATE_BOOL (1, b); @@ -1845,14 +1846,15 @@ SCM_DEFINE (scm_bit_position, "bit-position", 3, 0, 0, SCM_DEFINE (scm_bit_set_star_x, "bit-set*!", 3, 0, 0, - (SCM v, SCM kv, SCM obj), - "If uve is a bit-vector @var{bv} and uve must be of the same length. If\n" - "@var{bool} is @code{#t}, uve is OR'ed into @var{bv}; If @var{bool} is @code{#f}, the\n" - "inversion of uve is AND'ed into @var{bv}.\n\n" - "If uve is a unsigned integer vector all the elements of uve must be\n" - "between 0 and the @code{LENGTH} of @var{bv}. The bits of @var{bv}\n" - "corresponding to the indexes in uve are set to @var{bool}.\n\n" - "The return value is unspecified.") + (SCM v, SCM kv, SCM obj), + "If uve is a bit-vector @var{bv} and uve must be of the same\n" + "length. If @var{bool} is @code{#t}, uve is OR'ed into\n" + "@var{bv}; If @var{bool} is @code{#f}, the inversion of uve is\n" + "AND'ed into @var{bv}.\n\n" + "If uve is a unsigned integer vector all the elements of uve\n" + "must be between 0 and the @code{length} of @var{bv}. The bits\n" + "of @var{bv} corresponding to the indexes in uve are set to\n" + "@var{bool}. The return value is unspecified.") #define FUNC_NAME s_scm_bit_set_star_x { register long i, k, vlen; |