diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-02-13 19:33:51 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-02-13 19:33:51 +0100 |
commit | acbccb0c834e3d28d14c60c98c730969edcdfbcc (patch) | |
tree | 073a169cda1042d9ce25f7bbcf69a1dfb4ad38f0 /libguile/gc.h | |
parent | 524aa8ae6830d0f471f0c86431d5da87c8a0a534 (diff) | |
download | guile-acbccb0c834e3d28d14c60c98c730969edcdfbcc.tar.gz |
Reinstate `scm_protects', for backward compatibility.
Partly reverts e7efe8e793fa51ea898aea4477939c598b3e9fac ("decruftify
scm_sys_protects").
* libguile/gc.c (protects): Rename to...
(scm_protects): ... this.
* libguile/gc.h (scm_protects): Add declaration.
Diffstat (limited to 'libguile/gc.h')
-rw-r--r-- | libguile/gc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/gc.h b/libguile/gc.h index 05b08afb2..8f05aabcc 100644 --- a/libguile/gc.h +++ b/libguile/gc.h @@ -3,7 +3,7 @@ #ifndef SCM_GC_H #define SCM_GC_H -/* Copyright (C) 1995,1996,1998,1999,2000,2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1998,1999,2000,2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -237,6 +237,7 @@ SCM_API void scm_gc_register_root (SCM *p); SCM_API void scm_gc_unregister_root (SCM *p); SCM_API void scm_gc_register_roots (SCM *b, unsigned long n); SCM_API void scm_gc_unregister_roots (SCM *b, unsigned long n); +SCM_API SCM scm_protects; SCM_INTERNAL void scm_storage_prehistory (void); SCM_INTERNAL void scm_init_gc_protect_object (void); SCM_INTERNAL void scm_init_gc (void); |