summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-07-22 06:56:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-07-22 06:56:03 -0700
commit4c1341f2d2be88f36e5799aac9275c88233e1abe (patch)
treec63ef068a2e182d54c18b40feda209b589ce841b /match.h
parent54adf777ed9e1ce358848b4477a69dd59b5f0753 (diff)
downloadtxr-4c1341f2d2be88f36e5799aac9275c88233e1abe.tar.gz
txr-4c1341f2d2be88f36e5799aac9275c88233e1abe.tar.bz2
txr-4c1341f2d2be88f36e5799aac9275c88233e1abe.zip
ffi: bugfix: flexible struct get not working right.
The get operation must use the flexible array's in virtual function, because incomplete arrays have a no-op get function. * ffi.c (ffi_flex_struct_in): return the value of the slot. (ffi_struct_get): When processing the terminating slot of a flexible struct, we invoke its in-semantics, using the updated slot value as the object.
Diffstat (limited to 'match.h')
0 files changed, 0 insertions, 0 deletions