This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: scm_internal_dynamic_wind
- To: Guile Mailing List <guile at sourceware dot cygnus dot com>, Keisuke Nishida <kxn30 at po dot cwru dot edu>
- Subject: Re: scm_internal_dynamic_wind
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Tue, 14 Mar 2000 16:41:44 +0100 (MET)
On 14 Mar 2000, Keisuke Nishida wrote:
> Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
>
> > The function scm_internal_dynamic_wind uses a void* as its fourth
> > argument. In all places, where this function is used in guile (debug.c,
> > load.c) the calling function actually passes a SCM value, but has to cast
> > this to a void* in order to please the prototype.
>
> I guess you shouldn't, because the argument can be other than SCM.
> I do actually pass a C structure in my patch of Guile Emacs.
Ooops! Are you sure you are doing the right thing? I assume the function
is intentionally called 'internal'.
Guile gurus: What's the official position about using an 'internal'
function somewhere else? Or should this function be renamed?
Best regards
Dirk Herrmann