summaryrefslogtreecommitdiffstats
path: root/ffi.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-04-29 09:41:24 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-04-29 09:41:24 -0700
commit8a20c4af0ae40dd28fb351a49e14892070c1eae1 (patch)
tree105fabb65234d70bfdfb0cfabd08cb974b14ac16 /ffi.h
parent20d0c961509adc3a513c48461024e403bb1bc989 (diff)
downloadtxr-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi.h b/ffi.h
index 99c87a28..27e9bc10 100644
--- a/ffi.h
+++ b/ffi.h
@@ -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;