summaryrefslogtreecommitdiffstats
path: root/ffi.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-02 20:32:43 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-02 20:32:43 -0700
commitf1d1bd225fc3fe149dfae02533605e0f78b5e882 (patch)
tree8582fdcb8c46a7152f24a15a19ea918333b0da11 /ffi.h
parentbcf26b725e2b1efdf9575639fdbce6219e2343c4 (diff)
downloadtxr-f1d1bd225fc3fe149dfae02533605e0f78b5e882.tar.gz
txr-f1d1bd225fc3fe149dfae02533605e0f78b5e882.tar.bz2
txr-f1d1bd225fc3fe149dfae02533605e0f78b5e882.zip
ffi: remove ffi-copy-type.
We don't need type copying because the need for this was driven by the rtvec implementation, which assigned a unique rtidx to the nodes in a type tree, requiring like types to be separately instantiated. * ffi.c (struct txr_ffi_type): Remove member dup. (ffi_struct_dup, ffi_ptr_dup): Function removed. (make_ffi_type_builtin, make_ffi_type_struct, make_ffi_type_array): Don't initialize dup. (ffi_copy_type): Function removed. (ffi_type_compile): don't call ffi_copy_type. (ffi_init): ffi-copy-type intrinsic removed. * ffi.h (ffi_copy_type): Declaration removed.
Diffstat (limited to 'ffi.h')
-rw-r--r--ffi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ffi.h b/ffi.h
index df9e9628..77896b00 100644
--- a/ffi.h
+++ b/ffi.h
@@ -56,6 +56,5 @@ val ffi_make_call_desc(val ntotal, val nfixed, val rettype, val argtypes);
val ffi_make_closure(val fun, val call_desc);
mem_t *ffi_closure_get_fptr(val closure);
val ffi_call_wrap(val ffi_call_desc, val fptr, val args);
-val ffi_copy_type(val type);
val ffi_typedef(val name, val type);
void ffi_init(void);