mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
procs/weaks/hashtab: Removed a bit of useless mark/free code.
* libguile/hashtab.c (UNMARKED_CELL_P): Removed. (scm_i_scan_weak_hashtables): Removed. * libguile/hashtab.h (scm_i_scan_weak_hashtables): Removed. * libguile/procs.c (scm_mark_subr_table): Removed. * libguile/procs.h (scm_mark_subr_table): Removed. * libguile/weaks.c (UNMARKED_CELL_P): Removed. (scm_i_remove_weaks): Removed. (scm_i_remove_weaks_from_weak_vectors): Removed. git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-18
This commit is contained in:
parent
59cac9e3d8
commit
ce66606641
5 changed files with 0 additions and 119 deletions
|
@ -109,20 +109,6 @@ scm_c_define_subr_with_generic (const char *name,
|
|||
return subr;
|
||||
}
|
||||
|
||||
void
|
||||
scm_mark_subr_table ()
|
||||
{
|
||||
long i;
|
||||
for (i = 0; i < scm_subr_table_size; ++i)
|
||||
{
|
||||
scm_gc_mark (scm_subr_table[i].name);
|
||||
if (scm_subr_table[i].generic && *scm_subr_table[i].generic)
|
||||
scm_gc_mark (*scm_subr_table[i].generic);
|
||||
if (SCM_NIMP (scm_subr_table[i].properties))
|
||||
scm_gc_mark (scm_subr_table[i].properties);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifdef CCLO
|
||||
SCM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue