diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-05-02 20:48:10 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-05-02 20:48:10 -0700 |
commit | 5f8e2b6572241951c5b264707a05af76e3e9cda9 (patch) | |
tree | 51ddb2621fad79a07fddee6340f63d90e16a9aae /share | |
parent | f1d1bd225fc3fe149dfae02533605e0f78b5e882 (diff) | |
download | txr-5f8e2b6572241951c5b264707a05af76e3e9cda9.tar.gz txr-5f8e2b6572241951c5b264707a05af76e3e9cda9.tar.bz2 txr-5f8e2b6572241951c5b264707a05af76e3e9cda9.zip |
ffi: use single type node in arrays.
Since we don't have the rtidx members in the txr_ffi_type
structure, there is no need to instantiate a type for
each element of an array. All elements can now share the
one type.
* ffi.c (ffi_array_in, ffi_array_put, ffi_array_out,
ffi_array_get, make_ffi_type_array): Refactor according to
tft->mtypes no longer being a list but a single type.
(ffi_type_compile): Do not recompile the syntax n times
for each element.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions