From 8a20c4af0ae40dd28fb351a49e14892070c1eae1 Mon Sep 17 00:00:00 2001
From: Kaz Kylheku <kaz@kylheku.com>
Date: Sat, 29 Apr 2017 09:41:24 -0700
Subject: 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
---
 ffi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ffi.h')

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;
 
-- 
cgit v1.2.3