summaryrefslogtreecommitdiff
path: root/libguile/random.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2010-07-26 15:12:42 +0200
committerAndy Wingo <wingo@pobox.com>2010-07-26 15:12:42 +0200
commit1d454874c14423072e0b0e9ab7aaaaac81d376e0 (patch)
tree75adcbd30c61a724118735b49d69e7902058af01 /libguile/random.c
parent99a0ee662050ad31e74acb3390d6901e3c916f57 (diff)
downloadguile-1d454874c14423072e0b0e9ab7aaaaac81d376e0.tar.gz
update docs
* doc/ref/api-data.texi: * libguile/random.c: Update datum->random-state and random-state->datum docs.
Diffstat (limited to 'libguile/random.c')
-rw-r--r--libguile/random.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libguile/random.c b/libguile/random.c
index a1191898c..4586b271f 100644
--- a/libguile/random.c
+++ b/libguile/random.c
@@ -413,10 +413,8 @@ SCM_DEFINE (scm_seed_to_random_state, "seed->random-state", 1, 0, 0,
SCM_DEFINE (scm_datum_to_random_state, "datum->random-state", 1, 0, 0,
(SCM datum),
- "Return a new random state using @var{datum}.\n"
- "\n"
- "@var{datum} must be an external state representation obtained\n"
- "from @code{random-state->datum}.")
+ "Return a new random state using @var{datum}, which should have\n"
+ "been obtailed from @code{random-state->datum}.")
#define FUNC_NAME s_scm_datum_to_random_state
{
return make_rstate (scm_c_rstate_from_datum (datum));