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


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


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