This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: again: scm_internal_dynamic_wind
- To: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Subject: Re: again: scm_internal_dynamic_wind
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Mon, 3 Apr 2000 11:12:53 +0200 (MEST)
- cc: Guile Mailing List <guile at sourceware dot cygnus dot com>
On 31 Mar 2000, Mikael Djurfeldt wrote:
> It is better to use void * since it is intended to support generic C
> code. It is very often used to point to C structs.
This means, that scm_bits_t and SCM will always have to use a C type that
will be of the same size as pointers: Guile guarantees, that a pointer
can always be packed into a scm_bits_t value, without loss of
information. According to your statement, guile also guarantees, that a
scm_bits_t value can always be packed into a void*.
I don't claim that this is a bad idea, it's just something that we should
be aware of.
Best regards
Dirk Herrmann