|
From: | Zbigniew |
Subject: | Re: [Chicken-users] return a float from foreign function |
Date: | Mon, 28 Aug 2006 19:23:34 -0500 |
Just ensure your functions have prototypes as required. I mentioned libffi only as part of the general discussion of calling conventions, because it comes up when writing interfaces to foreign languages. Even when Chicken is configured to use libffi internally, it doesn't apply to foreign calls. (No pun intended.) That's what lazy-ffi does, but don't go down that path either :) On 8/28/06, Shawn Rutledge <address@hidden> wrote:
You are saying just use libffi and it's all much better?
On 8/28/06, Zbigniew <address@hidden> wrote: > libffi exists in great part to handle hairy calling conventions. I > found this out the hard way while writing the Objective C interface.
[Prev in Thread] | Current Thread | [Next in Thread] |