diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-05-01 21:42:20 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-05-01 21:42:20 -0700 |
commit | ac6fdc46539fc1ded418ba2df3bb5ef6ed181007 (patch) | |
tree | d0bc32318c71aee5bd77a80a08f39940e34a13a2 /unwind.c | |
parent | 1689bfa3d7f348f8c0fa7a010ba1c18b032e8906 (diff) | |
download | txr-ac6fdc46539fc1ded418ba2df3bb5ef6ed181007.tar.gz txr-ac6fdc46539fc1ded418ba2df3bb5ef6ed181007.tar.bz2 txr-ac6fdc46539fc1ded418ba2df3bb5ef6ed181007.zip |
ffi: support for duplicating type objects.
* ffi.c (struct txr_ffi_type): New member, dup.
(ffi_struct_dup, ffi_ptr_dup): New static functions.
(make_ffi_type_pointer, make_ffi_type_struct,
make_ffi_type_array): Set up dup virtual function for these
types.
(ffi_copy_type): New function.
(ffi_init): Register ffi-copy-type intrinsic.
* ffi.h (ffi_copy_type): Declared.
Diffstat (limited to 'unwind.c')
0 files changed, 0 insertions, 0 deletions