This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
struct by value copies
- From: Timothy Wall <twalljava at dev dot java dot net>
- To: libffi-discuss at sourceware dot org
- Date: Tue, 02 Sep 2008 11:40:27 -0400
- Subject: struct by value copies
I'm wondering if the responsibility of making a copy of struct by
value arguments lies with the caller of ffi_call or with libffi.
I've been looking through different targets to see if this is done
anywhere, and don't see copies made anywhere, so I would guess
responsibility lies with the caller of ffi_call.
Anyone know for sure?