summaryrefslogtreecommitdiff
path: root/libguile/list.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-11-27 23:12:35 +0100
committerAndy Wingo <wingo@pobox.com>2009-12-01 21:00:26 +0100
commit0f458a37259a53adc7b50b66a5944ecc3668ffda (patch)
tree60fc9556922c7469d11f65d83c162cfcb5951216 /libguile/list.h
parent504864b79fcdaf1c24785327b84190a041c30c0c (diff)
downloadguile-0f458a37259a53adc7b50b66a5944ecc3668ffda.tar.gz
factor copy-tree and cons-source out of eval.[ch]
* libguile.h: * libguile/Makefile.am * libguile/init.c (scm_i_init_guile): Add trees.[ch] to the build. * libguile/eval.c: * libguile/eval.h: Remove scm_copy_tree and scm_cons_source... * libguile/trees.h: * libguile/trees.c: * libguile/srcprop.h: * libguile/srcprop.c: ... factoring them out here and here, respectively. * test-suite/tests/eval.test ("memoization"): Change expected exception for circular data structures, given new copy-tree location.
Diffstat (limited to 'libguile/list.h')
-rw-r--r--libguile/list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/list.h b/libguile/list.h
index 427dcb84d..238926e21 100644
--- a/libguile/list.h
+++ b/libguile/list.h
@@ -3,7 +3,7 @@
#ifndef SCM_LIST_H
#define SCM_LIST_H
-/* Copyright (C) 1995,1996,1997,2000,2001,2003,2004,2005,2006,2008
+/* Copyright (C) 1995,1996,1997,2000,2001,2003,2004,2005,2006,2008,2009
* Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
@@ -67,6 +67,7 @@ SCM_API SCM scm_delv1_x (SCM item, SCM lst);
SCM_API SCM scm_delete1_x (SCM item, SCM lst);
SCM_API SCM scm_filter (SCM pred, SCM list);
SCM_API SCM scm_filter_x (SCM pred, SCM list);
+SCM_API SCM scm_copy_tree (SCM obj);