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)


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

> On 25 May 2000, Miroslav Silovic wrote:
> 
> > Or set them as a property (a systsem that is already in place and
> > (hopefully) tested :) ).
> 
> That's probably the best way to do it.  However, we still could provide
> convenience functions for the C level, since the functions that are
> provided in objprop.[ch] only accept SCM values:
>   extern SCM scm_object_property (SCM obj, SCM key);
>   extern SCM scm_set_object_property_x (SCM obj, SCM key, SCM val);

that's the best way to do it, provided it's explicitly documented
(i.e. it's documented that `scm_object_name' returns the property
`name'), or else there bound to be surprises.

> In any case, we can safely remove the SCM_HOOK_NAME macro and related
> code, right?

I think so.  uh, you mean "deprecate", right? ;)

[ you probably shouldn't worry about arbiters, I vaguely remember
  Mikael threatening to drop them for mutices Real Soon Now. ]

-- 
Incrementally extended heuristic algorithms tend inexorably toward the
incomprehensible.

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