From 3b64451459f45f3644d456bb438d2e3429416e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Grabm=C3=BCller?= Date: Sat, 17 Feb 2001 11:29:16 +0000 Subject: (scm_seed_to_random_state, scm_copy_random_state, scm_random): Added texinfo markup. --- libguile/random.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libguile/random.c') diff --git a/libguile/random.c b/libguile/random.c index 73f8cfaf9..4af5c4aa6 100644 --- a/libguile/random.c +++ b/libguile/random.c @@ -359,11 +359,11 @@ SCM_DEFINE (scm_random, "random", 1, 1, 0, "N (exclusive). The values returned have a uniform \n" "distribution.\n" "\n" - "The optional argument STATE must be of the type produced by\n" - "`seed->random-state'. It defaults to the value of the variable\n" - "*random-state*. This object is used to maintain the state of\n" - "the pseudo-random-number generator and is altered as a side\n" - "effect of the random operation.") + "The optional argument @var{state} must be of the type produced\n" + "by @code{seed->random-state}. It defaults to the value of the\n" + "variable @var{*random-state*}. This object is used to maintain\n" + "the state of the pseudo-random-number generator and is altered\n" + "as a side effect of the random operation.") #define FUNC_NAME s_scm_random { if (SCM_UNBNDP (state)) @@ -386,7 +386,7 @@ SCM_DEFINE (scm_random, "random", 1, 1, 0, SCM_DEFINE (scm_copy_random_state, "copy-random-state", 0, 1, 0, (SCM state), - "Return a copy of the random state STATE.") + "Return a copy of the random state @var{state}.") #define FUNC_NAME s_scm_copy_random_state { if (SCM_UNBNDP (state)) @@ -398,7 +398,7 @@ SCM_DEFINE (scm_copy_random_state, "copy-random-state", 0, 1, 0, SCM_DEFINE (scm_seed_to_random_state, "seed->random-state", 1, 0, 0, (SCM seed), - "Return a new random state using SEED.") + "Return a new random state using @var{seed}.") #define FUNC_NAME s_scm_seed_to_random_state { if (SCM_NUMBERP (seed)) -- cgit v1.2.1