diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-04-29 09:41:24 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-04-29 09:41:24 -0700 |
commit | 8a20c4af0ae40dd28fb351a49e14892070c1eae1 (patch) | |
tree | 105fabb65234d70bfdfb0cfabd08cb974b14ac16 /ffi.h | |
parent | 20d0c961509adc3a513c48461024e403bb1bc989 (diff) | |
download | txr-8a20c4af0ae40dd28fb351a49e14892070c1eae1.tar.gz txr-8a20c4af0ae40dd28fb351a49e14892070c1eae1.tar.bz2 txr-8a20c4af0ae40dd28fb351a49e14892070c1eae1.zip |
ffi: rename ptr-in-out to just ptr.
Why have this verbose naming for the most basic case.
Rather, ptr-in and ptr-out are optimizations of ptr which
just avoid copying the object in one direction.
* ffi.c (ptr_in_out_s): Renamed to ptr_s.
(ffi_ptr_in_out_put): Renamed to ffi_ptr_put.
(ffi_type_compile, ffi_init): Follow rename.
* ffi.h (ptr_in_out_s): Declaration updated
Diffstat (limited to 'ffi.h')
-rw-r--r-- | ffi.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ extern val str_d_s, wstr_s, wstr_d_s; extern val buf_d_s; -extern val ptr_in_s, ptr_out_s, ptr_in_out_s; +extern val ptr_in_s, ptr_out_s, ptr_s; extern val array_s; |