summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-20 14:48:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-20 14:48:28 -0700
commit66479625440d34dbb43b8e8a5f645dca95f9cc97 (patch)
tree7bc12b030275e4410711f4016184159d2c97f165 /tests
parent914368cbdca3a26a0e790bf47acec4a393a481c4 (diff)
downloadtxr-66479625440d34dbb43b8e8a5f645dca95f9cc97.tar.gz
txr-66479625440d34dbb43b8e8a5f645dca95f9cc97.tar.bz2
txr-66479625440d34dbb43b8e8a5f645dca95f9cc97.zip
ffi: overhaul ffi-call API and document it.
* ffi.c (ffi_call_wrap): Take struct args * parameters rather than a list. Check that number of arguments matches required number from call desc. No need to build argument array any more; we just refer to the one in args. Also, the first two parameters are reversed for consistency with other functions. (ffi_init): Update registration of ffi-call to reflect type change. * ffi.h (ffi_call_wrap): Declaration updated. * txr.1: Documented ffi-call.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions