Package com.kenai.jffi
Class CallContextCache
java.lang.Object
com.kenai.jffi.CallContextCache
public class CallContextCache
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description CallContextgetCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)CallContextgetCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)CallContextgetCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention)CallContextgetCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)CallContextgetCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)static CallContextCachegetInstance()Gets the global instance of theCallContextCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getInstance
Gets the global instance of theCallContextCache- Returns:
- An instance of a
CallContextCache
-
getCallContext
public final CallContext getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention) -
getCallContext
public final CallContext getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) -
getCallContext
public final CallContext getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) -
getCallContext
public final CallContext getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect) -
getCallContext
public final CallContext getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)
-