diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-06-05 06:21:52 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-06-05 06:21:52 -0700 |
commit | 936e52d347430fe6f60de29f8cfce44435d5094e (patch) | |
tree | e938d6f6b71e226829bfff30513ea80fe5884af0 /args.c | |
parent | e539fbc2af3bd4a5bd4ca3d9b567862005509aa1 (diff) | |
download | txr-936e52d347430fe6f60de29f8cfce44435d5094e.tar.gz txr-936e52d347430fe6f60de29f8cfce44435d5094e.tar.bz2 txr-936e52d347430fe6f60de29f8cfce44435d5094e.zip |
ffi: handle endian types as return values.
* ffi.c (ffi_be_i16_rput, ffi_be_i16_rget, ffi_be_u16_rput,
ffi_be_u16_rget, ffi_be_i32_rput, ffi_be_i32_rget,
ffi_be_u32_rput, ffi_be_u32_rget, ffi_le_i16_rput,
ffi_le_i16_rget, ffi_le_u16_rput, ffi_le_u16_rget,
ffi_le_i32_rput, ffi_le_i32_rget, ffi_le_u32_rput,
ffi_le_u32_rget): New static functions, on big endian.
(ffi_init_types): Wire in these functions for their
corresponding types, on big endian.
Diffstat (limited to 'args.c')
0 files changed, 0 insertions, 0 deletions