[cffi-devel] Re: Need foreign string method for translate-into-foreign-memory?
Liam Healy
lnp at healy.washington.dc.us
Sun Oct 20 15:26:34 UTC 2013
On Sun, Oct 20, 2013 at 9:46 AM, Luís Oliveira <luismbo at gmail.com> wrote:
> On Sun, Oct 20, 2013 at 4:40 AM, Liam Healy <lnp at healy.washington.dc.us> wrote:
>> I've added a test that calls a function with both a string and a
>> structure by value. I confirmed that it does not pass without the new
>> expand-to-foreign-dyn-indirect method, and it does pass with it.
>> Head: b0f1979747 - Foreign functions with both string and
>> structure-by-value calls
>
> I've added a comment to your commit. If that code works on the C side,
> then I think the CFFI code is wrong.
>
Possibly so. I don't understand C strings, and I'm away from my C
references. Can you see what's wrong?
Liam
More information about the cffi-devel
mailing list