This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]