Enum Constant and Description |
---|
BY_VALUE
Indicate that a structure parameter should be passed by value
instead of by reference.
|
CRITICAL
Indicate that GetPrimitiveArrayCritical() should be used instead
of Get<PrimitiveType>ArrayElements() when transferring array of
primitives from/to C.
|
CS_OBJECT
Indicate that the native parameter is a C# managed object.
|
INIT
Indicate that the associated C local variable for a native method
parameter should be initialized with zeros.
|
NO_IN
Indicate that a native method parameter is an out only variable.
|
NO_OUT
Indicate that a native method parameter is an in only variable.
|
POINTER_ARG
Indicate that the parameter is a pointer.
|
SENTINEL
Indicate that the parameter of a native method is the sentinel
(last parameter of a variable argument C function).
|
UNICODE
Indicate that GetStringChars()should be used instead of
GetStringUTFChars() to get the characters of a java.lang.String
passed as a parameter to native methods.
|
Modifier and Type | Method and Description |
---|---|
static ArgFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArgFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArgFlag NO_IN
public static final ArgFlag NO_OUT
public static final ArgFlag CRITICAL
public static final ArgFlag INIT
public static final ArgFlag POINTER_ARG
public static final ArgFlag BY_VALUE
public static final ArgFlag UNICODE
public static final ArgFlag SENTINEL
public static final ArgFlag CS_OBJECT
public static ArgFlag[] values()
for (ArgFlag c : ArgFlag.values()) System.out.println(c);
public static ArgFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null