diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-05-15 21:58:16 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-05-15 21:58:16 -0700 |
commit | fe8f3d772630e44552adecb3d3d52a6532e88e39 (patch) | |
tree | 17984b1a2cc68cd737222837eeb94311bc682a5d /tests | |
parent | 6b4f352810b3cbdcf7f16c88998ffbebbc9f24a0 (diff) | |
download | txr-fe8f3d772630e44552adecb3d3d52a6532e88e39.tar.gz txr-fe8f3d772630e44552adecb3d3d52a6532e88e39.tar.bz2 txr-fe8f3d772630e44552adecb3d3d52a6532e88e39.zip |
ffi: don't set up cptr as Lisp type inappropriately.
The type compiler specifies cptr as the Lisp type for various
ptr types and the buf type. This will be misleading with the
increasing role of cptr.
* ffi.c (ffi_get_lisp_type): New static function.
(ffi_type_compile): Use buf as the Lisp type for the buf
and buf-d FFI types. For ptr and its variants, use the
target type's Lisp type as the pointer's Lisp type.
For instance (ptr int) has integer as its Lisp type.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions