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: Unwanted hook names (was Re: interface reductions)


Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:

> Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
> 
> > Thus, as an intermediate solution I suggest to do the following:
> >   #define SCM_HOOK_NAME(h) scm_object_property (h, scm_makfrom0str ("name"))
> > and let scm_make_hook_with_name and scm_create_hook set the corresponding
> > property, but also deprecate these functions.  Thus, there is a chance to
> > update old code while we can already change the internal representation.
> > 
> > Shall I go ahead and do it that way?
> 
> Except for scm_create_hook, yes.

Agreed.

scm_create_hook is a convenience function for doing all of those
things-- it's targetting making the application-writer's job easier, and 
as such, needs the name to be easily added.

Greg

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