| Package | Description |
|---|---|
| jnr.ffi | |
| jnr.ffi.provider | |
| jnr.ffi.provider.jffi |
| Modifier and Type | Method and Description |
|---|---|
LibraryLoader<T> |
LibraryLoader.convention(CallingConvention convention)
Sets the native function calling convention.
|
static <T> LibraryLoader<T> |
LibraryLoader.create(Class<T> interfaceClass)
Creates a new
LibraryLoader instance. |
LibraryLoader<T> |
LibraryLoader.failImmediately()
Turns off lazy propagation of load failures.
|
LibraryLoader<T> |
LibraryLoader.library(String libraryName)
Adds a library to be loaded.
|
LibraryLoader<T> |
LibraryLoader.mapper(FunctionMapper typeMapper)
Adds a function mapper to use when resolving symbols in this library.
|
LibraryLoader<T> |
LibraryLoader.mapper(SignatureTypeMapper typeMapper)
Adds a type mapper to use when resolving method parameter and result types.
|
LibraryLoader<T> |
LibraryLoader.mapper(TypeMapper typeMapper)
Adds a type mapper to use when resolving method parameter and result types.
|
LibraryLoader<T> |
LibraryLoader.option(LibraryOption option,
Object value)
Sets an option when loading libraries.
|
LibraryLoader<T> |
LibraryLoader.search(String path)
Adds a path to search for libraries.
|
LibraryLoader<T> |
LibraryLoader.stdcall()
Sets the calling convention of the library to the Windows stdcall calling convention
|
| Modifier and Type | Method and Description |
|---|---|
abstract <T> LibraryLoader<T> |
FFIProvider.createLibraryLoader(Class<T> interfaceClass)
Creates a new
LibraryLoader instance |
| Modifier and Type | Method and Description |
|---|---|
<T> LibraryLoader<T> |
Provider.createLibraryLoader(Class<T> interfaceClass) |
Copyright © 2013. All rights reserved.