mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 06:20:23 +02:00
* gc.c (scm_gc_mark): Mark entity procedures.
This commit is contained in:
parent
afdfe3f41a
commit
aa0761ec4f
1 changed files with 7 additions and 0 deletions
|
@ -639,6 +639,13 @@ gc_mark_nimp:
|
|||
that it removes the mark */
|
||||
mem = (SCM *)SCM_GCCDR (ptr);
|
||||
|
||||
if (vtable_data[scm_struct_i_flags] & SCM_STRUCTF_ENTITY)
|
||||
{
|
||||
scm_gc_mark (mem[scm_struct_i_proc + 0]);
|
||||
scm_gc_mark (mem[scm_struct_i_proc + 1]);
|
||||
scm_gc_mark (mem[scm_struct_i_proc + 2]);
|
||||
scm_gc_mark (mem[scm_struct_i_proc + 3]);
|
||||
}
|
||||
if (len)
|
||||
{
|
||||
for (x = 0; x < len - 2; x += 2, ++mem)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue