micropython/ports/unix
Damien George 9e29217c73 unix/modffi: Use a union for passing/returning FFI values.
This fixes a bug where double arguments on a 32-bit architecture would not
be passed correctly because they only had 4 bytes of storage (not 8).  It
also fixes a compiler warning/error in return_ffi_value on certian
architectures: array subscript 'double[0]' is partly outside array bounds
of 'ffi_arg[1]' {aka 'long unsigned int[1]'}.

Fixes issue #7064.

Signed-off-by: Damien George <damien@micropython.org>
2021-05-06 12:17:10 +10:00
..
variants
.gitignore
Makefile
alloc.c
coverage.c py/repl: Autocomplete builtin modules. 2021-05-02 23:11:14 +10:00
coveragecpp.cpp
fatfs_port.c
gccollect.c
input.c
input.h
main.c unix/main: Make static variable that's potentially clobbered by longjmp. 2021-04-14 10:45:26 +10:00
modffi.c unix/modffi: Use a union for passing/returning FFI values. 2021-05-06 12:17:10 +10:00
modjni.c
modmachine.c
modos.c
modtermios.c
modtime.c
moduos_vfs.c
moduselect.c
modusocket.c
mpbthciport.c
mpbtstackport.h
mpbtstackport_common.c
mpbtstackport_h4.c
mpbtstackport_usb.c
mpconfigport.h
mpconfigport.mk
mphalport.h
mpnimbleport.c
mpnimbleport.h
mpthreadport.c
mpthreadport.h
qstrdefsport.h
unix_mphal.c all: Rename mp_keyboard_interrupt to mp_sched_keyboard_interrupt. 2021-04-30 15:13:43 +10:00