Back to index

plt-scheme  4.2.1
Defines | Typedefs | Enumerations
ffitarget.h File Reference

Go to the source code of this file.

Defines

#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_EXTRA_CIF_FIELDS   unsigned rstruct_flag
#define FFI_CLOSURES   1
#define FFI_TRAMPOLINE_SIZE   52
#define FFI_NATIVE_RAW_API   0

Typedefs

typedef unsigned int ffi_arg __attribute__ ((__mode__(__DI__)))
typedef enum ffi_abi ffi_abi

Enumerations

enum  ffi_abi {
  FFI_FIRST_ABI = 0, FFI_OSF, FFI_LAST_ABI, FFI_DEFAULT_ABI = FFI_OSF,
  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_DEFAULT_ABI = FFI_SYSV, FFI_LAST_ABI = FFI_DEFAULT_ABI + 1,
  FFI_FIRST_ABI = 0, FFI_LAST_ABI = FFI_DEFAULT_ABI + 1, FFI_FIRST_ABI = 0, FFI_UNIX,
  FFI_DEFAULT_ABI = FFI_UNIX, 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_DEFAULT_ABI = FFI_SYSV, FFI_LAST_ABI = FFI_DEFAULT_ABI + 1, FFI_FIRST_ABI = 0, FFI_O32,
  FFI_N32, FFI_N64, FFI_O32_SOFT_FLOAT, FFI_DEFAULT_ABI = FFI_N64,
  FFI_LAST_ABI = FFI_DEFAULT_ABI + 1, FFI_FIRST_ABI = 0, FFI_LAST_ABI = FFI_DEFAULT_ABI + 1, FFI_FIRST_ABI = 0,
  FFI_LAST_ABI, 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_DEFAULT_ABI = FFI_SYSV,
  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_V8, FFI_V8PLUS,
  FFI_V9, FFI_DEFAULT_ABI = FFI_V8, FFI_LAST_ABI = FFI_DEFAULT_ABI + 1, FFI_FIRST_ABI = 0,
  FFI_LAST_ABI = FFI_DEFAULT_ABI + 1
}

Define Documentation

#define FFI_ARGS_D   FFI_TYPE_DOUBLE

Definition at line 59 of file ffitarget.h.

#define FFI_ARGS_DD   FFI_TYPE_DOUBLE * 4 + FFI_TYPE_DOUBLE

Definition at line 61 of file ffitarget.h.

#define FFI_ARGS_DF   FFI_TYPE_FLOAT * 4 + FFI_TYPE_DOUBLE

Definition at line 64 of file ffitarget.h.

#define FFI_ARGS_F   FFI_TYPE_FLOAT

Definition at line 60 of file ffitarget.h.

#define FFI_ARGS_FD   FFI_TYPE_DOUBLE * 4 + FFI_TYPE_FLOAT

Definition at line 63 of file ffitarget.h.

#define FFI_ARGS_FF   FFI_TYPE_FLOAT * 4 + FFI_TYPE_FLOAT

Definition at line 62 of file ffitarget.h.

#define FFI_CLOSURES   1

Definition at line 178 of file ffitarget.h.

#define FFI_EXTRA_CIF_FIELDS   unsigned rstruct_flag

Definition at line 168 of file ffitarget.h.

#define FFI_FLAG_BITS   2

Definition at line 54 of file ffitarget.h.

#define FFI_NATIVE_RAW_API   0

Definition at line 185 of file ffitarget.h.

#define FFI_SIZEOF_ARG   8

Definition at line 48 of file ffitarget.h.

#define FFI_SIZEOF_JAVA_RAW   4

Definition at line 50 of file ffitarget.h.

#define FFI_TRAMPOLINE_SIZE   52

Definition at line 180 of file ffitarget.h.

#define FFI_TYPE_SMALLSTRUCT   FFI_TYPE_UINT8

Definition at line 67 of file ffitarget.h.

#define FFI_TYPE_SMALLSTRUCT2   FFI_TYPE_SINT8

Definition at line 68 of file ffitarget.h.

#define FFI_TYPE_STRUCT_D   61

Definition at line 76 of file ffitarget.h.

#define FFI_TYPE_STRUCT_DD   253

Definition at line 78 of file ffitarget.h.

#define FFI_TYPE_STRUCT_DF   189

Definition at line 81 of file ffitarget.h.

#define FFI_TYPE_STRUCT_F   45

Definition at line 77 of file ffitarget.h.

#define FFI_TYPE_STRUCT_FD   237

Definition at line 80 of file ffitarget.h.

#define FFI_TYPE_STRUCT_FF   173

Definition at line 79 of file ffitarget.h.

#define FFI_TYPE_STRUCT_SMALL   93

Definition at line 82 of file ffitarget.h.

#define FFI_TYPE_STRUCT_SMALL2   109

Definition at line 83 of file ffitarget.h.


Typedef Documentation

typedef signed int ffi_sarg __attribute__((__mode__(__DI__)))

Definition at line 140 of file ffitarget.h.

typedef enum ffi_abi ffi_abi

Enumeration Type Documentation

enum ffi_abi
Enumerator:
FFI_FIRST_ABI 
FFI_OSF 
FFI_LAST_ABI 
FFI_DEFAULT_ABI 
FFI_FIRST_ABI 
FFI_SYSV 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_SYSV 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_UNIX 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_SYSV 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_SYSV 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_O32 
FFI_N32 
FFI_N64 
FFI_O32_SOFT_FLOAT 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_SYSV 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_SYSV 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_SYSV 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_V8 
FFI_V8PLUS 
FFI_V9 
FFI_DEFAULT_ABI 
FFI_LAST_ABI 
FFI_FIRST_ABI 
FFI_LAST_ABI 

Definition at line 144 of file ffitarget.h.

                     {
  FFI_FIRST_ABI = 0,
  FFI_O32,
  FFI_N32,
  FFI_N64,
  FFI_O32_SOFT_FLOAT,

#ifdef FFI_MIPS_O32
#ifdef __mips_soft_float
  FFI_DEFAULT_ABI = FFI_O32_SOFT_FLOAT,
#else
  FFI_DEFAULT_ABI = FFI_O32,
#endif
#else
# if _MIPS_SIM==_ABI64
  FFI_DEFAULT_ABI = FFI_N64,
# else
  FFI_DEFAULT_ABI = FFI_N32,
# endif
#endif

  FFI_LAST_ABI = FFI_DEFAULT_ABI + 1
} ffi_abi;