This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: New: SCM_DEBUG_CELL_ACCESSES
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: New: SCM_DEBUG_CELL_ACCESSES
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 21 May 2000 12:48:36 +0200
- Cc: Guile Mailing List <guile at sourceware dot cygnus dot com>
- Cc: djurfeldt at nada dot kth dot se
- References: <Pine.LNX.4.21.0005191735580.20845-100000@marvin.ida.ing.tu-bs.de>
Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
> Oh, and by the way I fixed the scm_cellp function which was _always_
> returning 'false' up to now. Looks like nobody has ever used it.
It is used by the GDB interface. It has been working, but I
introduced a bug when implementing the new GC policy---sorry.
The logic of scm_cellp is very similar to the logic of
scm_mark_locations. Ideally they should use common code, but we
should probably not do that because of performance.
BTW, please use the indentation style used in the GNU coding
standards. For example, write
if (...)
{
...
}
rather than
if (...) {
...
}
Generally, we should try to keep the coding style consistent
throughout Guile.
Best regards,
/mdj