限定符 | 构造器和说明 |
---|---|
protected |
FFIProvider() |
限定符和类型 | 方法和说明 |
---|---|
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 © 2021. All rights reserved.