summaryrefslogtreecommitdiffstats
path: root/txr-embedded-arg.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-15 21:58:16 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-15 21:58:16 -0700
commitfe8f3d772630e44552adecb3d3d52a6532e88e39 (patch)
tree17984b1a2cc68cd737222837eeb94311bc682a5d /txr-embedded-arg.txr
parent6b4f352810b3cbdcf7f16c88998ffbebbc9f24a0 (diff)
downloadtxr-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 'txr-embedded-arg.txr')
0 files changed, 0 insertions, 0 deletions