This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: again: scm_internal_dynamic_wind
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: again: scm_internal_dynamic_wind
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 03 Apr 2000 12:13:07 +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.0004031106480.32561-100000@marvin.ida.ing.tu-bs.de>
Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
> 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.
Yes, good point. But, the day we want to violate this restriction, we
can implement scm_dynamic_wind using some internal function rather
than scm_c_dynamic_wind (currently called scm_internal_dynamic_wind).