summaryrefslogtreecommitdiff
path: root/libguile/print.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/print.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/print.c')
-rw-r--r--libguile/print.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libguile/print.c b/libguile/print.c
index 746bcb5aa..ee1f85aa7 100644
--- a/libguile/print.c
+++ b/libguile/print.c
@@ -187,7 +187,8 @@ static SCM print_state_pool;
SCM_DEFINE (scm_current_pstate, "current-pstate", 0, 0, 0,
(),
-"")
+ "Return the current-pstate--the `cadr' of the print_state_pool.\n"
+ "`current-pstate' is only included in GUILE_DEBUG builds.")
#define FUNC_NAME s_scm_current_pstate
{
return SCM_CADR (print_state_pool);
@@ -998,8 +999,8 @@ SCM_DEFINE (scm_simple_format, "simple-format", 2, 0, 1,
SCM_DEFINE (scm_newline, "newline", 0, 1, 0,
- (SCM port),
- "")
+ (SCM port),
+ "Send a newline to PORT.")
#define FUNC_NAME s_scm_newline
{
if (SCM_UNBNDP (port))
@@ -1013,8 +1014,8 @@ SCM_DEFINE (scm_newline, "newline", 0, 1, 0,
#undef FUNC_NAME
SCM_DEFINE (scm_write_char, "write-char", 1, 1, 0,
- (SCM chr, SCM port),
- "")
+ (SCM chr, SCM port),
+ "Send character CHR to PORT.")
#define FUNC_NAME s_scm_write_char
{
if (SCM_UNBNDP (port))