| Modifier and Type | Field and Description |
|---|---|
| public static final ArgFlag | BY_VALUE
Indicate that a structure parameter should be passed by value instead of by reference. |
| public static final ArgFlag | CRITICAL
Indicate that GetPrimitiveArrayCritical() should be used instead of Get<PrimitiveType>ArrayElements() when transferring array of primitives from/to C. |
| public static final ArgFlag | CS_OBJECT
Indicate that the native parameter is a C# managed object. |
| public static final ArgFlag | INIT
Indicate that the associated C local variable for a native method parameter should be initialized with zeros. |
| public static final ArgFlag | NO_IN
Indicate that a native method parameter is an out only variable. |
| public static final ArgFlag | NO_OUT
Indicate that a native method parameter is an in only variable. |
| public static final ArgFlag | POINTER_ARG
Indicate that the parameter is a pointer. |
| public static final ArgFlag | SENTINEL
Indicate that the parameter of a native method is the sentinel (last parameter of a variable argument C function). |
| public static final ArgFlag | 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. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ArgFlag | |
| public static ArgFlag[] |
| BY_VALUE | back to summary |
|---|---|
| public static final ArgFlag BY_VALUE Indicate that a structure parameter should be passed by value instead of by reference. This dereferences the parameter by prepending *. The parameter must not be NULL. | |
| CRITICAL | back to summary |
|---|---|
| public static final ArgFlag CRITICAL Indicate that GetPrimitiveArrayCritical() should be used instead of Get<PrimitiveType>ArrayElements() when transferring array of primitives from/to C. This is an optimization to avoid copying memory and must be used carefully. It is ok to be used in MoveMemory() and memmove() natives. | |
| CS_OBJECT | back to summary |
|---|---|
| public static final ArgFlag CS_OBJECT Indicate that the native parameter is a C# managed object. | |
| INIT | back to summary |
|---|---|
| public static final ArgFlag INIT Indicate that the associated C local variable for a native method parameter should be initialized with zeros. | |
| NO_IN | back to summary |
|---|---|
| public static final ArgFlag NO_IN Indicate that a native method parameter is an out only variable. This only makes sense if the parameter is a structure or an array of primitives. It is an optimization to avoid copying the java memory to C memory on the way in. | |
| NO_OUT | back to summary |
|---|---|
| public static final ArgFlag NO_OUT Indicate that a native method parameter is an in only variable. This only makes sense if the parameter is a structure or an array of primitives. It is an optimization to avoid copying the C memory from java memory on the way out. | |
| POINTER_ARG | back to summary |
|---|---|
| public static final ArgFlag POINTER_ARG Indicate that the parameter is a pointer. | |
| SENTINEL | back to summary |
|---|---|
| public static final ArgFlag SENTINEL Indicate that the parameter of a native method is the sentinel (last parameter of a variable argument C function). The generated code is always the literal NULL. Some compilers expect the sentinel to be the literal NULL and output a warning if otherwise. | |
| UNICODE | back to summary |
|---|---|
| public static final ArgFlag 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. | |
| ArgFlag | back to summary |
|---|---|
| private ArgFlag() | |
| valueOf | back to summary |
|---|---|
| public static ArgFlag valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ArgFlag[] values() | |