summaryrefslogtreecommitdiff
path: root/libguile/gh_list.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1997-09-15 21:20:48 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1997-09-15 21:20:48 +0000
commit92396c0aa11dfff27e62fbb8bbc1c20f57c2c766 (patch)
treea9e9fe12d9937757c4db61ea9aa7cb316d224bb6 /libguile/gh_list.c
parente69807f074a9889e8a7243a20b40722a8710b008 (diff)
downloadguile-92396c0aa11dfff27e62fbb8bbc1c20f57c2c766.tar.gz
* list.h (SCM_LISTn): New macros. Make list creation in C code
prettier. The idea comes from STk. * sequences.h, sequences.c, append.h, append.c: Removed. These files implemented non-R4RS operations which would encourage non-portable programming style and less easy-to-read code. * Makefile.am (sequences.h, sequences.c, append.h, append.c): Removed. * libguile.h, eval.c, init.c, stime.c, unif.c: Removed #include sequences.h, #include append.h. * gh.h, gh_list.c: Renamed gh_list_length --> gh_length. * list.h, list.c: Renamed scm_list_length --> scm_length, scm
Diffstat (limited to 'libguile/gh_list.c')
-rw-r--r--libguile/gh_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/gh_list.c b/libguile/gh_list.c
index 6442c57c7..bc1c7f4aa 100644
--- a/libguile/gh_list.c
+++ b/libguile/gh_list.c
@@ -48,9 +48,9 @@
/* returns the length of a list */
unsigned long
-gh_list_length (SCM l)
+gh_length (SCM l)
{
- return gh_scm2ulong (scm_list_length (l));
+ return gh_scm2ulong (scm_length (l));
}
/* list operations */