summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-10 20:37:41 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-10 20:37:41 -0700
commite08221a2b9c0286d9c6bed73be61516ee44e3b64 (patch)
treeca1c260b0e6658ac1dc1121cf2baa606dd35e3d6 /regex.c
parent2a4693cd5200f87f7effda359e40659955c1ab55 (diff)
downloadtxr-e08221a2b9c0286d9c6bed73be61516ee44e3b64.tar.gz
txr-e08221a2b9c0286d9c6bed73be61516ee44e3b64.tar.bz2
txr-e08221a2b9c0286d9c6bed73be61516ee44e3b64.zip
ffi: refactor array transfers.
This anticipates a redesign of variable arrays. Variable arrays will have their own put, in, get and out functions, which will share some implementation. * ffi.c (ffi_array_in_common): New function. (ffi_array_in): Bulk of code replaced by call to ffi_array_in_common. (ffi_array_put_common, ffi_array_out_common, ffi_array_get_common): New functions. (ffi_array_put, ffi_array_out, ffi_array_get): Reduced to thin wrappers.
Diffstat (limited to 'regex.c')
0 files changed, 0 insertions, 0 deletions