[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about GC in C code.
From: |
Richard Stallman |
Subject: |
Re: Question about GC in C code. |
Date: |
Mon, 11 Nov 2002 05:20:05 -0500 |
But I confess that I have no clue as how GC works in the C code.
Will this approach work? Will menu_bar_vector be safe from GC?
You have to modify the GC code in alloc.c to explicitly find these
C data structures in the menus and mark them the vectors by calling
mark_object.
And when a struct menu_gtk_data is free:d, will menu_bar_vector
then be a candidate for GC?
No, because the code you add to GC will not find it and mark it.
Is a detached menu a Lisp object? If so, what data type is it?
Do we want a way to manipulate detached menus from Lisp?
- Question about GC in C code., Jan D., 2002/11/09
- Re: Question about GC in C code.,
Richard Stallman <=
- Re: Question about GC in C code., Jan D., 2002/11/11
- Re: Question about GC in C code., Jan D., 2002/11/12
- Re: Question about GC in C code., Stefan Monnier, 2002/11/12
- Re: Question about GC in C code., Richard Stallman, 2002/11/13
- Re: Question about GC in C code., Jan D., 2002/11/14
- Re: Question about GC in C code., Richard Stallman, 2002/11/15
- Re: Question about GC in C code., Jan D., 2002/11/16
- Re: Question about GC in C code., Richard Stallman, 2002/11/17