Package com.kenai.jffi
Class ObjectParameterInfo
java.lang.Object
com.kenai.jffi.ObjectParameterInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ObjectParameterInfo.ObjectTypestatic final ObjectParameterInfo.ComponentTypestatic final ObjectParameterInfo.ObjectTypestatic final ObjectParameterInfo.ComponentTypestatic final ObjectParameterInfo.ComponentTypestatic final intFor OUT arrays, clear the native memory area before passing to the native functionstatic final ObjectParameterInfo.ComponentTypestatic final ObjectParameterInfo.ComponentTypestatic final intCopy the array contents to native memory before calling the functionstatic final ObjectParameterInfo.ComponentTypestatic final ObjectParameterInfo.ComponentTypestatic final intAppend a NUL byte to the array contents after copying to native memorystatic final intAfter calling the function, reload the array contents from native memorystatic final intPin the array memory and pass the JVM memory pointer directly to the functionstatic final ObjectParameterInfo.ComponentType -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectParameterInfocreate(int parameterIndex, int ioflags) static ObjectParameterInfocreate(int parameterIndex, ObjectParameterInfo.ObjectType objectType, ObjectParameterInfo.ComponentType componentType, int ioflags) booleanfinal intinthashCode()
-
Field Details
-
IN
public static final int INCopy the array contents to native memory before calling the function- See Also:
-
OUT
public static final int OUTAfter calling the function, reload the array contents from native memory- See Also:
-
PINNED
public static final int PINNEDPin the array memory and pass the JVM memory pointer directly to the function- See Also:
-
NULTERMINATE
public static final int NULTERMINATEAppend a NUL byte to the array contents after copying to native memory- See Also:
-
CLEAR
public static final int CLEARFor OUT arrays, clear the native memory area before passing to the native function- See Also:
-
ARRAY
-
BUFFER
-
BYTE
-
SHORT
-
INT
-
LONG
-
FLOAT
-
DOUBLE
-
BOOLEAN
-
CHAR
-
-
Method Details
-
create
public static ObjectParameterInfo create(int parameterIndex, ObjectParameterInfo.ObjectType objectType, ObjectParameterInfo.ComponentType componentType, int ioflags) -
create
-
getParameterIndex
public final int getParameterIndex() -
equals
-
hashCode
public int hashCode()
-