This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Scheme hooks <-> C hooks
Michael Livshin <mlivshin@bigfoot.com> writes:
> perhaps what Keisuke means is that if you can register C functions in
> hooks directly, i.e. without requiring that they be exported to
> Scheme, then you can have only one hook API (um...)? but I can't read
> minds, usually.
...then it indeed does make sense to define a distinct API (argh!) for
GC hooks, because that should be the only place where you can't run
Scheme code.
--
When your hammer is C++, everything begins to look like a thumb.
-- Steve Hoflich on comp.lang.c++