diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-01-15 07:30:53 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-01-15 07:30:53 -0800 |
commit | 4375946224455b2509d6ca27e48c2cd6d51a704e (patch) | |
tree | 075337981a301105ef8ce4f0ee01aa19e12030e9 /match.c | |
parent | 8ea9cc713f52fd0a1357aa5cded97ceb234b669a (diff) | |
download | txr-4375946224455b2509d6ca27e48c2cd6d51a704e.tar.gz txr-4375946224455b2509d6ca27e48c2cd6d51a704e.tar.bz2 txr-4375946224455b2509d6ca27e48c2cd6d51a704e.zip |
ffi: arrays: be more forgiving of length mismatches.
* ffi.c (min): New macro.
(ffi_array_put_common): Tolerate sequences which are shorter
than the array. Use seq_info to classify the sequence and use
separate code for the vector and list case, avoiding taking
the length of the list.
* txr.1: Documented.
Diffstat (limited to 'match.c')
0 files changed, 0 insertions, 0 deletions