1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

remove public scm_protects export

* libguile/gc.h:
* libguile/gc.c: Remove scm_protects from the API.  It is deprecated on
  stable-2.0.
This commit is contained in:
Andy Wingo 2011-11-18 11:10:54 +01:00
parent 2ec8da2e45
commit fbe1cb7f64
2 changed files with 2 additions and 4 deletions

View file

@ -82,9 +82,8 @@ int scm_expensive_debug_cell_accesses_p = 0;
int scm_debug_cells_gc_interval = 0;
/* Hash table that keeps a reference to objects the user wants to protect from
garbage collection. It could arguably be private but applications have come
to rely on it (e.g., Lilypond 2.13.9). */
SCM scm_protects;
garbage collection. */
static SCM scm_protects;
#if (SCM_DEBUG_CELL_ACCESSES == 1)

View file

@ -325,7 +325,6 @@ 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);