jnr.ffi.provider.jffi.Signature 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;
import com.kenai.jffi.CallingConvention;
import java.lang.annotation.Annotation;
/**
*
*/
class Signature {
final Class resultType;
final Class[] parameterTypes;
final Annotation[] resultAnnotations;
final Annotation[][] parameterAnnotations;
CallingConvention callingConvention;
boolean ignoreError;
public Signature(Class resultType, Class[] parameterTypes, Annotation[] resultAnnotations,
Annotation[][] parameterAnnotations, CallingConvention callingConvention, boolean ignoreError) {
this.resultType = resultType;
this.parameterTypes = parameterTypes;
this.resultAnnotations = resultAnnotations;
this.parameterAnnotations = parameterAnnotations;
this.callingConvention = callingConvention;
this.ignoreError = ignoreError;
}
}