jnr.ffi.provider.jffi.AbstractDirectPointerParameterStrategy 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;
/**
*
*/
abstract class AbstractDirectPointerParameterStrategy extends PointerParameterStrategy {
public AbstractDirectPointerParameterStrategy() {
super(DIRECT);
}
@Override
public Object object(Object o) {
throw new RuntimeException("no array");
}
@Override
public int offset(Object o) {
throw new RuntimeException("no array");
}
@Override
public int length(Object o) {
throw new RuntimeException("no array");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy