diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-06-30 20:59:31 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-06-30 20:59:31 -0700 |
commit | 81d654e02fc4f6f9896ad6b1755ea8138900e2a3 (patch) | |
tree | 011e575958758ffe373d16c0ce8ecce55740be5b /ffi.h | |
parent | d5de2c354ccd3c2a1836963f0366522bc36c04d2 (diff) | |
download | txr-81d654e02fc4f6f9896ad6b1755ea8138900e2a3.tar.gz txr-81d654e02fc4f6f9896ad6b1755ea8138900e2a3.tar.bz2 txr-81d654e02fc4f6f9896ad6b1755ea8138900e2a3.zip |
ffi: new ffi-type-operator-p and ffi-type-p.
* ffi.c (ffi_type_operator_p, ffi_type_p): New functions.
(ffi_init): Register ffi-type-operator-p and ffi-type-p
intrinsics.
* ffi.h (ffi_type_operator_p, ffi_type_p): Declared.
* txr.1: Documented.
Diffstat (limited to 'ffi.h')
-rw-r--r-- | ffi.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -72,6 +72,8 @@ extern val bool_s; extern val ffi_type_s, ffi_call_desc_s, ffi_closure_s; val ffi_type_compile(val syntax); +val ffi_type_operator_p(val sym); +val ffi_type_p(val sym); val ffi_make_call_desc(val ntotal, val nfixed, val rettype, val argtypes); val ffi_make_closure(val fun, val call_desc, val safe_p_in, val abort_ret_in); mem_t *ffi_closure_get_fptr(val closure); |