Modifier | Constructor and Description |
---|---|
protected |
FFIProvider() |
Modifier and Type | Method and Description |
---|---|
abstract <T> LibraryLoader<T> |
createLibraryLoader(Class<T> interfaceClass)
Creates a new
LibraryLoader instance. |
abstract Runtime |
getRuntime()
Gets the default
Runtime for this provider. |
static FFIProvider |
getSystemProvider()
Gets an instance of
FFIProvider |
public static FFIProvider getSystemProvider()
FFIProvider
FFIProvider
public abstract Runtime getRuntime()
Runtime
for this provider.public abstract <T> LibraryLoader<T> createLibraryLoader(Class<T> interfaceClass)
LibraryLoader
instance.T
- The library type.interfaceClass
- The library interface class.LibraryLoader
instance.Copyright © 2024. All rights reserved.