[cffi-devel] Re: Patch: FOREIGN-FUNCALL for LispWorks
Luís Oliveira
luismbo at gmail.com
Sat Jan 21 03:03:13 UTC 2006
Edi Weitz <edi at agharta.de> writes:
> Here's a variant of my recent patch. Even uglier, but now the caching
> and creation of funcallables happens at macro-expansion time already.
> Don't know if this is still sane, gotta go to bed now... :)
As you may have noticed, I've pushed your patch. However, I did some
more testing afterwards and noticed that it didn't work very
well. For some reason related to RT the foreign-funcall tests didn't
reflect this but I pushed a new test (FUNCALL.INT.2) that failed.
I fixed it by having the %foreign-funcall expansion call
get-foreign-funcallable at run-time and also at macroexpansion time. Let
me know if you have a better idea.
Anyway, thanks for your patch!
--
Luís Oliveira
luismbo (@) gmail (.) com
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt
More information about the cffi-devel
mailing list