public class FFI extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FFI.CIF |
| Modifier and Type | Field and Description |
|---|---|
static int |
ABI_STDCALL |
static int |
ABI_SYSV |
static int |
ABI_WIN64 |
static int |
FFI_TYPE_DOUBLE |
static int |
FFI_TYPE_FLOAT |
static int |
FFI_TYPE_INT |
static int |
FFI_TYPE_LONGDOUBLE |
static int |
FFI_TYPE_POINTER |
static int |
FFI_TYPE_SINT16 |
static int |
FFI_TYPE_SINT32 |
static int |
FFI_TYPE_SINT64 |
static int |
FFI_TYPE_SINT8 |
static int |
FFI_TYPE_STRUCT |
static int |
FFI_TYPE_UINT16 |
static int |
FFI_TYPE_UINT32 |
static int |
FFI_TYPE_UINT64 |
static int |
FFI_TYPE_UINT8 |
static int |
FFI_TYPE_VOID |
| Constructor and Description |
|---|
FFI() |
| Modifier and Type | Method and Description |
|---|---|
static long |
call(long proc,
long[] args) |
static void |
call(long cif,
long fn,
long rvalue,
long avalue) |
static long |
call(long lib,
String function,
long[] args) |
static void |
freeClosure(long closure) |
static int |
prepare(long cif,
int abi,
int nargs,
long rtype,
long atypes) |
static long |
prepareClosure(long cif,
long objectId,
long methodId) |
public static final int ABI_SYSV
public static final int ABI_STDCALL
public static final int ABI_WIN64
public static final int FFI_TYPE_VOID
public static final int FFI_TYPE_INT
public static final int FFI_TYPE_FLOAT
public static final int FFI_TYPE_DOUBLE
public static final int FFI_TYPE_LONGDOUBLE
public static final int FFI_TYPE_UINT8
public static final int FFI_TYPE_SINT8
public static final int FFI_TYPE_UINT16
public static final int FFI_TYPE_SINT16
public static final int FFI_TYPE_UINT32
public static final int FFI_TYPE_SINT32
public static final int FFI_TYPE_UINT64
public static final int FFI_TYPE_SINT64
public static final int FFI_TYPE_STRUCT
public static final int FFI_TYPE_POINTER
public static int prepare(long cif,
int abi,
int nargs,
long rtype,
long atypes)
public static void call(long cif,
long fn,
long rvalue,
long avalue)
public static long prepareClosure(long cif,
long objectId,
long methodId)
public static void freeClosure(long closure)
public static long call(long lib,
String function,
long[] args)
public static long call(long proc,
long[] args)
Copyright © 2018. All rights reserved.