jnr.ffi.provider.jffi.DirectMemoryParameterStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-ffi Show documentation
Show all versions of jnr-ffi Show documentation
A library for invoking native functions from java
package jnr.ffi.provider.jffi;
/**
*
*/
final class DirectMemoryParameterStrategy extends AbstractDirectPointerParameterStrategy {
static final PointerParameterStrategy INSTANCE = new DirectMemoryParameterStrategy();
@Override
public final long address(Object o) {
return ((DirectMemoryIO) o).address;
}
}