[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can't pass a struct by value to LuaJIT FFI varargs function?
- From: Mike Pall <mikelu-1101@...>
- Date: Sat, 29 Jan 2011 13:18:48 +0100
David Greenspan wrote:
> Speaking of the "small struct" rules, I'm running into an "NYI" issue with
> an API call that returns a 16-byte (two-pointer) struct.
>
> Is there a workaround to let me receive a "struct { void *a; void *b; }" by
> value on my 64-bit Mac?
There's no workaround. So I had to bite the bullet and implement
the full POSIX/x64 struct calling conventions. Ick. :-|
Anyway, please try again with git HEAD and report back. Thank you!
--Mike