mirror of
https://github.com/partic2/libffi
synced 2026-11-11 02:27:19 +00:00
Support for calling functions with PASCAL and REGISTER calling conventions on x86 Windows/Linux.
Also changed indentation to be more consistent throughout the (adjusted) files.
This commit is contained in:
@@ -82,6 +82,8 @@ typedef enum ffi_abi {
|
||||
FFI_THISCALL,
|
||||
FFI_FASTCALL,
|
||||
FFI_MS_CDECL,
|
||||
FFI_PASCAL,
|
||||
FFI_REGISTER,
|
||||
FFI_LAST_ABI,
|
||||
#ifdef _MSC_VER
|
||||
FFI_DEFAULT_ABI = FFI_MS_CDECL
|
||||
@@ -101,6 +103,8 @@ typedef enum ffi_abi {
|
||||
FFI_THISCALL,
|
||||
FFI_FASTCALL,
|
||||
FFI_STDCALL,
|
||||
FFI_PASCAL,
|
||||
FFI_REGISTER,
|
||||
FFI_LAST_ABI,
|
||||
#if defined(__i386__) || defined(__i386)
|
||||
FFI_DEFAULT_ABI = FFI_SYSV
|
||||
|
||||
Reference in New Issue
Block a user