Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

Macros | Typedefs | Enumerations
ffitarget.h File Reference
`#include <sgidefs.h>`

Go to the source code of this file.

## Macros
#define | _ABIN32 _MIPS_SIM_NABI32
#define | _ABI64 _MIPS_SIM_ABI64
#define | _ABIO32 _MIPS_SIM_ABI32
#define | FFI_SIZEOF_ARG 8
#define | FFI_SIZEOF_JAVA_RAW 4
#define | FFI_FLAG_BITS 2
#define | FFI_ARGS_D FFI_TYPE_DOUBLE
#define | FFI_ARGS_F FFI_TYPE_FLOAT
#define | FFI_ARGS_DD FFI_TYPE_DOUBLE * 4 + FFI_TYPE_DOUBLE
#define | FFI_ARGS_FF FFI_TYPE_FLOAT * 4 + FFI_TYPE_FLOAT
#define | FFI_ARGS_FD FFI_TYPE_DOUBLE * 4 + FFI_TYPE_FLOAT
#define | FFI_ARGS_DF FFI_TYPE_FLOAT * 4 + FFI_TYPE_DOUBLE
#define | FFI_TYPE_SMALLSTRUCT FFI_TYPE_UINT8
#define | FFI_TYPE_SMALLSTRUCT2 FFI_TYPE_SINT8
#define | FFI_TYPE_STRUCT_D 61
#define | FFI_TYPE_STRUCT_F 45
#define | FFI_TYPE_STRUCT_DD 253
#define | FFI_TYPE_STRUCT_FF 173
#define | FFI_TYPE_STRUCT_FD 237
#define | FFI_TYPE_STRUCT_DF 189
#define | FFI_TYPE_STRUCT_SMALL 93
#define | FFI_TYPE_STRUCT_SMALL2 109
#define | FFI_TYPE_STRUCT_D_SOFT 317
#define | FFI_TYPE_STRUCT_F_SOFT 301
#define | FFI_TYPE_STRUCT_DD_SOFT 509
#define | FFI_TYPE_STRUCT_FF_SOFT 429
#define | FFI_TYPE_STRUCT_FD_SOFT 493
#define | FFI_TYPE_STRUCT_DF_SOFT 445
#define | FFI_TYPE_STRUCT_SOFT 16
#define | FFI_EXTRA_CIF_FIELDS unsigned rstruct_flag
#define | FFI_CLOSURES 1
#define | FFI_TRAMPOLINE_SIZE 52
#define | FFI_NATIVE_RAW_API 0

## Typedefs
typedef __uint64_t | ffi_arg
typedef __int64_t | ffi_sarg
typedef enum ffi_abi | ffi_abi

## Enumerations
enum | ffi_abi { FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_OSF, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_OSF, FFI_FIRST_ABI = 0, FFI_ARCOMPACT, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_ARCOMPACT, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_VFP, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_EABI, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_EABI, FFI_FIRST_ABI = 0, FFI_UNIX, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_UNIX, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_OBSD, FFI_DEFAULT_ABI = FFI_OBSD, FFI_LAST_ABI = FFI_DEFAULT_ABI + 1, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_DEFAULT_ABI = FFI_SYSV, FFI_LAST_ABI = FFI_DEFAULT_ABI + 1, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_O32, FFI_N32, FFI_N64, FFI_O32_SOFT_FLOAT, FFI_N32_SOFT_FLOAT, FFI_N64_SOFT_FLOAT, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_N64, FFI_FIRST_ABI = 0, FFI_EABI, FFI_DEFAULT_ABI = FFI_EABI, FFI_LAST_ABI = FFI_DEFAULT_ABI + 1, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_FIRST_ABI = 0, FFI_COMPAT_SYSV, FFI_COMPAT_GCC_SYSV, FFI_COMPAT_LINUX64, FFI_COMPAT_LINUX, FFI_COMPAT_LINUX_SOFT_FLOAT, FFI_SYSV = 8, FFI_SYSV_SOFT_FLOAT = 1, FFI_SYSV_STRUCT_RET = 2, FFI_SYSV_IBM_LONG_DOUBLE = 4, FFI_SYSV_LONG_DOUBLE_128 = 16, FFI_DEFAULT_ABI, FFI_LAST_ABI = 32, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV, FFI_FIRST_ABI = 0, FFI_V8, FFI_V8PLUS, FFI_V9, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_V8, FFI_FIRST_ABI = 0, FFI_UNIX, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_UNIX, FFI_FIRST_ABI = 0, FFI_ELFBSD, FFI_DEFAULT_ABI = FFI_ELFBSD, FFI_LAST_ABI = FFI_DEFAULT_ABI + 1, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_UNIX64, FFI_THISCALL, FFI_FASTCALL, FFI_STDCALL, FFI_PASCAL, FFI_REGISTER, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_UNIX64, FFI_FIRST_ABI = 0, FFI_SYSV, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_SYSV }

## Macro Definition Documentation

## ◆ _ABI64

#define _ABI64 _MIPS_SIM_ABI64

Definition at line 52 of file ffitarget.h.

## ◆ _ABIN32

#define _ABIN32 _MIPS_SIM_NABI32

Definition at line 49 of file ffitarget.h.

## ◆ _ABIO32

#define _ABIO32 _MIPS_SIM_ABI32

Definition at line 55 of file ffitarget.h.

## ◆ FFI_ARGS_D

#define FFI_ARGS_D FFI_TYPE_DOUBLE

Definition at line 88 of file ffitarget.h.

## ◆ FFI_ARGS_DD

#define FFI_ARGS_DD FFI_TYPE_DOUBLE * 4 + FFI_TYPE_DOUBLE

Definition at line 90 of file ffitarget.h.

## ◆ FFI_ARGS_DF

#define FFI_ARGS_DF FFI_TYPE_FLOAT * 4 + FFI_TYPE_DOUBLE

Definition at line 93 of file ffitarget.h.

## ◆ FFI_ARGS_F

#define FFI_ARGS_F FFI_TYPE_FLOAT

Definition at line 89 of file ffitarget.h.

## ◆ FFI_ARGS_FD

#define FFI_ARGS_FD FFI_TYPE_DOUBLE * 4 + FFI_TYPE_FLOAT

Definition at line 92 of file ffitarget.h.

## ◆ FFI_ARGS_FF

#define FFI_ARGS_FF FFI_TYPE_FLOAT * 4 + FFI_TYPE_FLOAT

Definition at line 91 of file ffitarget.h.

## ◆ FFI_CLOSURES

#define FFI_CLOSURES 1

Definition at line 237 of file ffitarget.h.

## ◆ FFI_EXTRA_CIF_FIELDS

#define FFI_EXTRA_CIF_FIELDS unsigned rstruct_flag

Definition at line 227 of file ffitarget.h.

## ◆ FFI_FLAG_BITS

#define FFI_FLAG_BITS 2

Definition at line 83 of file ffitarget.h.

## ◆ FFI_NATIVE_RAW_API

#define FFI_NATIVE_RAW_API 0

Definition at line 244 of file ffitarget.h.

## ◆ FFI_SIZEOF_ARG

#define FFI_SIZEOF_ARG 8

Definition at line 77 of file ffitarget.h.

## ◆ FFI_SIZEOF_JAVA_RAW

#define FFI_SIZEOF_JAVA_RAW 4

Definition at line 79 of file ffitarget.h.

## ◆ FFI_TRAMPOLINE_SIZE

#define FFI_TRAMPOLINE_SIZE 52

Definition at line 239 of file ffitarget.h.

## ◆ FFI_TYPE_SMALLSTRUCT

#define FFI_TYPE_SMALLSTRUCT FFI_TYPE_UINT8

Definition at line 96 of file ffitarget.h.

## ◆ FFI_TYPE_SMALLSTRUCT2

#define FFI_TYPE_SMALLSTRUCT2 FFI_TYPE_SINT8

Definition at line 97 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_D

#define FFI_TYPE_STRUCT_D 61

Definition at line 105 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_D_SOFT

#define FFI_TYPE_STRUCT_D_SOFT 317

Definition at line 115 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_DD

#define FFI_TYPE_STRUCT_DD 253

Definition at line 107 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_DD_SOFT

#define FFI_TYPE_STRUCT_DD_SOFT 509

Definition at line 117 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_DF

#define FFI_TYPE_STRUCT_DF 189

Definition at line 110 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_DF_SOFT

#define FFI_TYPE_STRUCT_DF_SOFT 445

Definition at line 120 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_F

#define FFI_TYPE_STRUCT_F 45

Definition at line 106 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_F_SOFT

#define FFI_TYPE_STRUCT_F_SOFT 301

Definition at line 116 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_FD

#define FFI_TYPE_STRUCT_FD 237

Definition at line 109 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_FD_SOFT

#define FFI_TYPE_STRUCT_FD_SOFT 493

Definition at line 119 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_FF

#define FFI_TYPE_STRUCT_FF 173

Definition at line 108 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_FF_SOFT

#define FFI_TYPE_STRUCT_FF_SOFT 429

Definition at line 118 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_SMALL

#define FFI_TYPE_STRUCT_SMALL 93

Definition at line 111 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_SMALL2

#define FFI_TYPE_STRUCT_SMALL2 109

Definition at line 112 of file ffitarget.h.

## ◆ FFI_TYPE_STRUCT_SOFT

#define FFI_TYPE_STRUCT_SOFT 16

Definition at line 121 of file ffitarget.h.

## Typedef Documentation

## ◆ ffi_abi

typedef enum ffi_abi ffi_abi

## ◆ ffi_arg

typedef __uint64_t ffi_arg

Definition at line 189 of file ffitarget.h.

## ◆ ffi_sarg

typedef __int64_t ffi_sarg

Definition at line 190 of file ffitarget.h.

## Enumeration Type Documentation

## ◆ ffi_abi

enum ffi_abi

Enumerator
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_OSF |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_ARCOMPACT |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_VFP |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_EABI |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_UNIX |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_OBSD |
FFI_DEFAULT_ABI |
FFI_LAST_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_DEFAULT_ABI |
FFI_LAST_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_O32 |
FFI_N32 |
FFI_N64 |
FFI_O32_SOFT_FLOAT |
FFI_N32_SOFT_FLOAT |
FFI_N64_SOFT_FLOAT |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_EABI |
FFI_DEFAULT_ABI |
FFI_LAST_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_FIRST_ABI |
FFI_COMPAT_SYSV |
FFI_COMPAT_GCC_SYSV |
FFI_COMPAT_LINUX64 |
FFI_COMPAT_LINUX |
FFI_COMPAT_LINUX_SOFT_FLOAT |
FFI_SYSV |
FFI_SYSV_SOFT_FLOAT |
FFI_SYSV_STRUCT_RET |
FFI_SYSV_IBM_LONG_DOUBLE |
FFI_SYSV_LONG_DOUBLE_128 |
FFI_DEFAULT_ABI |
FFI_LAST_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_V8 |
FFI_V8PLUS |
FFI_V9 |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_UNIX |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_ELFBSD |
FFI_DEFAULT_ABI |
FFI_LAST_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_UNIX64 |
FFI_THISCALL |
FFI_FASTCALL |
FFI_STDCALL |
FFI_PASCAL |
FFI_REGISTER |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |
FFI_FIRST_ABI |
FFI_SYSV |
FFI_LAST_ABI |
FFI_DEFAULT_ABI |

Definition at line 194 of file ffitarget.h.