All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jnr.ffi.provider.jffi.AbstractDirectPointerParameterStrategy Maven / Gradle / Ivy

There is a newer version: 0.3.1
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy