Re: FFI
- From: Josh Grams <josh@xxxxxxxxxxx>
- Date: Thu, 25 Dec 2008 12:31:02 GMT
Andrew Haley wrote:
Josh Grams <josh@xxxxxxxxxxx> writes:
There is also libffi (which has been merged into gcc, I think, but
isn't usually installed as a user library). I don't know as much
about it. At first glance, it doesn't look so good (I can't tell
whether it works on Windows, and it's definitely missing variadic
functions and bitfields and maybe callbacks).
Libffi works on Windows. Bitfields and callbacks are fine. Variadic
functions is an interesting point, but AFAICR no ABI I use treats them
any differently from functions with fixed arity. Does Windows? I
can't remember.
Ah, so it just has poor/outdated documentation. That's not so bad.
I remember having some trouble with OSX/PPC with variadic something, but
it was probably the ioctl syscall, not regular function calls.
Thanks for the clarifications, everybody.
--Josh
.
- References:
- Your mindset about Forth?
- From: Helmar
- Re: Your mindset about Forth?
- From: Jonah Thomas
- Re: Your mindset about Forth?
- From: Helmar
- Re: Your mindset about Forth?
- From: Bernd Paysan
- Re: Your mindset about Forth?
- From: Gerry
- Re: Your mindset about Forth?
- From: Bernd Paysan
- Re: Your mindset about Forth?
- From: Gerry
- FFI (Was Re: Your mindset about Forth?)
- From: Josh Grams
- Re: FFI
- From: Aleksej Saushev
- Re: FFI
- From: Andrew Haley
- Your mindset about Forth?
- Prev by Date: Re: There is no usable applications written in Forth
- Next by Date: Re: There is no usable applications written in Forth
- Previous by thread: Re: FFI
- Next by thread: Re: FFI (Was Re: Your mindset about Forth?)
- Index(es):
Relevant Pages
|