lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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