diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-06-27 06:04:24 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-06-27 06:04:24 -0700 |
commit | 7e915426a84cc4dd87743d0c1aa19e462895cc94 (patch) | |
tree | de31371581acf07550d8f2c011372bfae30a44aa /eval.c | |
parent | 39a889bb8b7794cda6b967acbd4222486f318104 (diff) | |
download | txr-7e915426a84cc4dd87743d0c1aa19e462895cc94.tar.gz txr-7e915426a84cc4dd87743d0c1aa19e462895cc94.tar.bz2 txr-7e915426a84cc4dd87743d0c1aa19e462895cc94.zip |
ffi: add missing rput/rget ops for big endian.
We either mishandle return values, or crash due to
a null rput/rget function pointers on aggregate types
and bools.
* ffi.c (ffi_bool_rput, ffi_bool_rget): New static functions.
(make_ffi_type_pointer, make_ffi_type_struct,
make_ffi_type_union, make_ffi_type_array): Fill in rput and rget.
(ffi_type_compile): Fill in rget and rput for bool with new
functions.
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions