[cffi-devel] Converting foreign structures with CFFI generic functions
Liam Healy
lnp at healy.washington.dc.us
Thu Sep 8 16:45:45 UTC 2011
On Thu, Sep 8, 2011 at 9:49 AM, Luís Oliveira <luismbo at gmail.com> wrote:
> On Thu, Sep 8, 2011 at 2:07 PM, Frank Goenninger <frgo at me.com> wrote:
>> I get everything ok up until I am trying to call foreign-funcall-pointer ... - for which I have no way to create a call-by-value definition using FSBV.
>
> Have a look at FSBV:FOREIGN-FUNCALL's definition. It shouldn't be too
> hard to define a similar wrapper on top of
> CFFI:FOREIGN-FUNCALL-POINTER.
>
So I guess an enhanced foreign-funcall-pointer is a feature request
for the future merged FSBV in CFFI. When we get to that point, I'll
have to remember to put that in.
Liam
More information about the cffi-devel
mailing list