| Package | Description |
|---|---|
| jnr.ffi | |
| jnr.ffi.mapper | |
| jnr.ffi.provider | |
| jnr.ffi.provider.jffi |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<FunctionMapper> |
LibraryLoader.functionMappers |
| Modifier and Type | Method and Description |
|---|---|
LibraryLoader<T> |
LibraryLoader.mapper(FunctionMapper functionMapper)
Adds a function mapper to use when resolving symbols in this library.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeFunctionMapper |
(package private) class |
SimpleFunctionMapper |
| Modifier and Type | Field and Description |
|---|---|
static FunctionMapper |
FunctionMapper.IDENTITY
An implementation of
FunctionMapper that maps 1:1 between java symbols and native functions |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<FunctionMapper> |
CompositeFunctionMapper.functionMappers |
| Modifier and Type | Method and Description |
|---|---|
FunctionMapper |
FunctionMapper.Builder.build() |
| Constructor and Description |
|---|
CompositeFunctionMapper(java.util.Collection<FunctionMapper> functionMappers) |
| Modifier and Type | Class and Description |
|---|---|
class |
IdentityFunctionMapper
An implementation of
FunctionMapper that just returns the same name as input |
| Modifier and Type | Field and Description |
|---|---|
static FunctionMapper |
IdentityFunctionMapper.SingletonHolder.INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static FunctionMapper |
IdentityFunctionMapper.getInstance() |
| Modifier and Type | Field and Description |
|---|---|
private FunctionMapper |
DefaultInvokerFactory.functionMapper |
private FunctionMapper |
ReflectionLibraryLoader.LazyLoader.functionMapper |
| Constructor and Description |
|---|
DefaultInvokerFactory(Runtime runtime,
NativeLibrary library,
SignatureTypeMapper typeMapper,
FunctionMapper functionMapper,
CallingConvention libraryCallingConvention,
java.util.Map<LibraryOption,?> libraryOptions,
boolean libraryIsSynchronized) |