From 32c90d4a9a01e809f591276c058e5b3c7f39b154 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lu=C3=ADs=20Oliveira?= Date: Sun, 11 Aug 2024 16:16:01 +0100 Subject: [PATCH] libffi: clean up the ABI enum We only use :DEFAULT-ABI and currently provide no CFFI API to use a different ABI. (But we should!) This should fix #148. --- libffi/libffi-types.lisp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/libffi/libffi-types.lisp b/libffi/libffi-types.lisp index 7fe9e0d..89da35e 100644 --- a/libffi/libffi-types.lisp +++ b/libffi/libffi-types.lisp @@ -53,29 +53,9 @@ ((:bad-typedef "FFI_BAD_TYPEDEF")) ((:bad-abi "FFI_BAD_ABI"))) -#+freebsd (cenum abi ((:default-abi "FFI_DEFAULT_ABI"))) -#+(and windows x86-64) -(cenum abi - ((:default-abi "FFI_DEFAULT_ABI")) - ((:win64 "FFI_WIN64"))) - -#+(and windows (not x86-64)) -(cenum abi - ((:default-abi "FFI_DEFAULT_ABI")) - ((:sysv "FFI_SYSV")) - ((:stdcall "FFI_STDCALL"))) - -#-(or freebsd windows) -(cenum abi - ((:default-abi "FFI_DEFAULT_ABI")) - #-x86-64 - ((:sysv "FFI_SYSV")) - #+x86-64 - ((:unix64 "FFI_UNIX64"))) - (ctype ffi-abi "ffi_abi") (ctype size-t "size_t") -- 2.11.4.GIT