All Classes and Interfaces
Class
Description
Describes the layout of a C array
Flags to use when adding an array as a pointer parameter
Native function call context
This class holds all the information that JFFI needs to correctly call a
native function, or to implement a callback from native code to java.
Holder class to do lazy allocation of the ClosureManager instance
Defines the function calling conventions.
Represents a native closure.
An interface to the native callback parameter buffer.
A Handle is allocated by the
ClosureManager, as a strong reference
to the native closure trampoline.Allocates and manages the lifecycle of native closures (aka callbacks)
Holder class to do lazy allocation of the ClosureManager instance
Manages the lifecycle of a native closure.
This is a proxy passed to the native code, to be called by the
native trampoline code.
Implementation of the
Closure.Buffer interface to read/write
parameter and return value data in native memoryReads annd writes data types that are smaller than the size of a native
long, as a native long for compatibility with FFI.
Native function invocation context
This class holds all the information that JFFI needs to correctly call a
native function.
An implementation of
InvocationBuffer that packs its parameters onto
a java heap allocated buffer.Big endian, 32 bit array encoder
Big endian, 64 bit array encoder
Base class for all big-endian architecture array encoders.
Encodes java data types into native parameter frames
Little endian, 32 bit implementation of
ArrayIOLittle endian, 64 bit implementation of
ArrayIOBase class for all little-endian architecture array encoders.
Utility class to load the jffi stub library
Retrieves metadata about jffi C internals
A parameter buffer used when invoking a function
Provide a factory for invokedynamic handles that are bound to a particular call context+function
Provides native function invocation facilities.
A 32 bit invoker implementation
A 64 bit invoker implementation
Lazy initialization singleton holder
Provides access to the value of errno on unix, or GetLastError on windows.
Lazy-initialization singleton holder
Represents a native library
A handle to the current process
Provides facilities to access native memory from java.
An implementation of MemoryIO using JNI methods.
A 32 bit optimized implementation of
MemoryIO using JNI.A 64 bit optimized implementation of
MemoryIO using JNI.Holds a single instance of
MemoryIORepresents a native implementation of a method for a class
Utility class to register native methods on a class
Holds objects the native code must handle - such as primitive arrays
Describes the type of an object parameter (e.g.
Manages allocation, disposal and protection of native memory pages
Convenience class to interrogate the system about various platform-specific details.
The common names of cpu architectures.
A
Platform subclass representing the MacOS system.The common names of operating systems.
Holds a single, lazily loaded instance of
PlatformA
Platform subclass representing the Windows system.Describes the layout of a C struct
Loads the native stub library.
The common names of cpu architectures.
Native parameter and return types.
Types that are built-in to libffi.
This is a lazy loaded cache of builtin type info, so we can still have
Type.VOID as a public static variable without it causing the
native library to load.
Describes the layout of a C union
An implementation of
MemoryIO using sun.misc.UnsafeA 32 bit optimized implementation of
MemoryIO using sun.misc.UnsafeA 64 bit optimized implementation of
MemoryIO using sun.misc.Unsafe