[cffi-devel] %mem-{set,ref} can be inlined?

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Apr 25 14:51:46 UTC 2010


On Sun, Apr 25, 2010 at 4:37 PM, Juan Jose Garcia-Ripoll <
juanjose.garciaripoll at googlemail.com> wrote:

> Also it is not clear to me from the definitions whether %mem-set returns a
> value, or whether I can simply produce a form that does not return anything.
>

Assuming the worst case, namely that the value is needed, here goes a
possible patch that implements inline expansions for both functions.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20100425/6d4bd7b1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Inline-expansions-for-MEM-SET-REF-when-using-the-ECL.patch
Type: application/octet-stream
Size: 4035 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20100425/6d4bd7b1/attachment.obj>


More information about the cffi-devel mailing list