This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: scm_internal_dynamic_wind


Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> 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?

He is.

> I assume the function is intentionally called 'internal'.

It should have the name scm_c_dynamic_wind.  It *is* actually intended
to be used by the application writer.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]