summaryrefslogtreecommitdiffstats
path: root/ffi.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-06-30 20:59:31 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-06-30 20:59:31 -0700
commit81d654e02fc4f6f9896ad6b1755ea8138900e2a3 (patch)
tree011e575958758ffe373d16c0ce8ecce55740be5b /ffi.h
parentd5de2c354ccd3c2a1836963f0366522bc36c04d2 (diff)
downloadtxr-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffi.h b/ffi.h
index 232337a1..c0e343bf 100644
--- a/ffi.h
+++ b/ffi.h
@@ -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);