summaryrefslogtreecommitdiff
path: root/libguile/variable.c
diff options
context:
space:
mode:
authorGreg J. Badros <gjb@cs.washington.edu>2000-02-14 03:13:19 +0000
committerGreg J. Badros <gjb@cs.washington.edu>2000-02-14 03:13:19 +0000
commitb450f07086e27f6bb428a5d8e6f17fa997073c26 (patch)
tree3f37f79a9b5fc4ffaf20066debe1c01b3422139b /libguile/variable.c
parent92540145dd16d24881aad29ecf6cc79e76e97702 (diff)
downloadguile-b450f07086e27f6bb428a5d8e6f17fa997073c26.tar.gz
* arbiters.c, eq.c, gc.c, guardians.c, list.c, ports.c, print.c,
regex-posix.c, scmsigs.c, stime.c, strings.c, variable.c, stime.c, strings.c, variable.c: Added lots of documentation, cleaned up some existing documentation. Occasionally changed formal params to match docs. Also folded an #ifdef into the inners of a primitive instead of having two copies of the primitive (`get-internal-real-time', from stime.c)
Diffstat (limited to 'libguile/variable.c')
-rw-r--r--libguile/variable.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/libguile/variable.c b/libguile/variable.c
index f74a58d85..19059988b 100644
--- a/libguile/variable.c
+++ b/libguile/variable.c
@@ -105,8 +105,7 @@ SCM_DEFINE (scm_make_variable, "make-variable", 1, 1, 0,
"If given, uses NAME-HINT as its internal (debugging)\n"
"name, otherwise just treat it as an anonymous variable.\n"
"Remember, of course, that multiple bindings to the same\n"
- "variable may exist, so NAME-HINT is just that---a hint.\n"
- "")
+ "variable may exist, so NAME-HINT is just that---a hint.\n")
#define FUNC_NAME s_scm_make_variable
{
SCM val_cell;
@@ -130,8 +129,7 @@ SCM_DEFINE (scm_make_undefined_variable, "make-undefined-variable", 0, 1, 0,
"If given, uses NAME-HINT as its internal (debugging)\n"
"name, otherwise just treat it as an anonymous variable.\n"
"Remember, of course, that multiple bindings to the same\n"
- "variable may exist, so NAME-HINT is just that---a hint.\n"
- "")
+ "variable may exist, so NAME-HINT is just that---a hint.\n")
#define FUNC_NAME s_scm_make_undefined_variable
{
SCM vcell;
@@ -177,8 +175,7 @@ SCM_DEFINE (scm_variable_set_x, "variable-set!", 2, 0, 0,
(SCM var, SCM val),
"Set the value of the variable VAR to VAL.\n"
"VAR must be a variable object, VAL can be any value.\n"
- "Returns an unspecified value.\n"
- "")
+ "Returns an unspecified value.\n")
#define FUNC_NAME s_scm_variable_set_x
{
SCM_VALIDATE_VARIABLE (1,var);
@@ -192,8 +189,7 @@ SCM_DEFINE (scm_builtin_variable, "builtin-variable", 1, 0, 0,
(SCM name),
"Return the built-in variable with the name NAME.\n"
"NAME must be a symbol (not a string).\n"
- "Then use `variable-ref' to access its value.\n"
- "")
+ "Then use `variable-ref' to access its value.\n")
#define FUNC_NAME s_scm_builtin_variable
{
SCM vcell;
@@ -221,8 +217,7 @@ SCM_DEFINE (scm_builtin_variable, "builtin-variable", 1, 0, 0,
SCM_DEFINE (scm_variable_bound_p, "variable-bound?", 1, 0, 0,
(SCM var),
"Return #t iff VAR is bound to a value.\n"
- "Throws an error if VAR is not a variable object.\n"
- "")
+ "Throws an error if VAR is not a variable object.\n")
#define FUNC_NAME s_scm_variable_bound_p
{
SCM_VALIDATE_VARIABLE (1,var);