From dde97c714b4303f1fa715dae9adb1978afe8c8ef Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 30 Apr 2017 06:55:34 -0700 Subject: ffi: housecleaning: reorder type sym declarations. * ffi.c: Move declarations of array_s and zarray_s after void_s, to keep built-in FFI types together. Eliminate some blank lines. (ffi_init): Move initialization of void_s to to match declaration order. * ffi.h: Update declarations of type symbol variables to match ffi.c. (struct_s): Now declared. --- ffi.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ffi.h') diff --git a/ffi.h b/ffi.h index 098f3798..12d9705a 100644 --- a/ffi.h +++ b/ffi.h @@ -34,19 +34,19 @@ extern val char_s, uchar_s, wchar_s; extern val short_s, ushort_s; extern val int_s, uint_s; extern val long_s, ulong_s; - +extern val void_s; extern val double_s; +extern val array_s, zarray_s; + +extern val struct_s; + 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_d_s, ptr_out_d_s, ptr_s; -extern val array_s, zarray_s; - -extern val void_s; - extern val ffi_type_s, ffi_call_desc_s; val ffi_type_compile(val syntax); -- cgit v1.2.3