This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: CNI for C
>>>>> "Andrew" == Andrew Shuttlewood <andrew.shuttlewood@futureroute.co.uk> writes:
Andrew> Well, surely you could (un)box value types fairly easily. In
Andrew> terms of structures, how does libffi handle them?
You describe the structure to libffi. Then when you make a call to a
function taking such a structure as an argument, libffi knows how to
handle that type. libffi can basically handle anything your
platform's ABI can handle.
Tom