diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-12-16 13:10:42 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-12-16 13:10:42 -0800 |
commit | b8f8be2738e304f1b857b0c1be7abe77f1c622e7 (patch) | |
tree | 5ee89a1980126db2052bc100a4bc9d07af79c580 /ffi.c | |
parent | b30f8596fd90fd87283980410838ceaa86b4e148 (diff) | |
download | txr-b8f8be2738e304f1b857b0c1be7abe77f1c622e7.tar.gz txr-b8f8be2738e304f1b857b0c1be7abe77f1c622e7.tar.bz2 txr-b8f8be2738e304f1b857b0c1be7abe77f1c622e7.zip |
ffi: bug: zchar not handled in array out semantics.
* ffi.c (ffi_array_out): Add missing zchar case.
Diffstat (limited to 'ffi.c')
-rw-r--r-- | ffi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2473,6 +2473,7 @@ static void ffi_array_out(struct txr_ffi_type *tft, int copy, val vec, if (tft->ch_conv != conv_none && stringp(vec)) { switch (tft->ch_conv) { case conv_char: + case conv_zchar: ffi_char_array_put(tft, vec, dst, tft->nelem); break; case conv_wchar: |