Pointer, NativeLong, or any of the normal java
types such as int, short.
All other types are defined in terms of these primitive types.
| Modifier and Type | Field and Description |
|---|---|
| public static final NativeType | ADDRESS
Native memory address. |
| public static final NativeType | DOUBLE
Double precision floating point. |
| public static final NativeType | FLOAT
Single precision floating point. |
| public static final NativeType | SCHAR
Signed char. |
| public static final NativeType | SINT
Signed integer. |
| public static final NativeType | SLONG
Signed long integer. |
| public static final NativeType | SLONGLONG
Signed long long integer. |
| public static final NativeType | SSHORT
Signed short integer. |
| public static final NativeType | STRUCT
Native struct type |
| public static final NativeType | UCHAR
Unsigned char. |
| public static final NativeType | UINT
Unsigned integer. |
| public static final NativeType | ULONG
Unsigned long integer. |
| public static final NativeType | ULONGLONG
Unsigned long long integer. |
| public static final NativeType | USHORT
Unsigned short integer. |
| public static final NativeType | VOID
Void type. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static NativeType | |
| public static NativeType[] |
| ADDRESS | back to summary |
|---|---|
| public static final NativeType ADDRESS Native memory address. Equivalent to a C void* or char* pointer type. Can be either 4 or 8 bytes in size, depending on the platform. | |
| DOUBLE | back to summary |
|---|---|
| public static final NativeType DOUBLE Double precision floating point. Equivalent to a C double type. Usually 8 bytes in size. | |
| FLOAT | back to summary |
|---|---|
| public static final NativeType FLOAT Single precision floating point. Equivalent to a C float type. Usually 4 bytes in size. | |
| SCHAR | back to summary |
|---|---|
| public static final NativeType SCHAR Signed char. Equivalent to a C char or signed char type. Usually 1 byte in size. | |
| SINT | back to summary |
|---|---|
| public static final NativeType SINT Signed integer. Equivalent to a C int or signed int type. Usually 4 bytes in size. | |
| SLONG | back to summary |
|---|---|
| public static final NativeType SLONG Signed long integer. Equivalent to a C long or signed long type. Can be either 4 or 8 bytes in size, depending on the platform. | |
| SLONGLONG | back to summary |
|---|---|
| public static final NativeType SLONGLONG Signed long long integer. Equivalent to a C long long or signed long long type. Usually 8 bytes in size. | |
| SSHORT | back to summary |
|---|---|
| public static final NativeType SSHORT Signed short integer. Equivalent to a C short or signed short type. Usually 2 bytes in size. | |
| STRUCT | back to summary |
|---|---|
| public static final NativeType STRUCT Native struct type | |
| UCHAR | back to summary |
|---|---|
| public static final NativeType UCHAR Unsigned char. Equivalent to a C unsigned char type. Usually 1 byte in size | |
| UINT | back to summary |
|---|---|
| public static final NativeType UINT Unsigned integer. Equivalent to a C unsigned int type. Usually 4 bytes in size. | |
| ULONG | back to summary |
|---|---|
| public static final NativeType ULONG Unsigned long integer. Equivalent to a C unsigned long type. Can be either 4 or 8 bytes in size, depending on the platform. | |
| ULONGLONG | back to summary |
|---|---|
| public static final NativeType ULONGLONG Unsigned long long integer. Equivalent to a C unsigned long long type. Usually 8 bytes in size. | |
| USHORT | back to summary |
|---|---|
| public static final NativeType USHORT Unsigned short integer. Equivalent to a C unsigned short type. Usually 2 bytes in size. | |
| VOID | back to summary |
|---|---|
| public static final NativeType VOID Void type. Only used for function return types. | |
| NativeType | back to summary |
|---|---|
| private NativeType() | |
| valueOf | back to summary |
|---|---|
| public static NativeType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static NativeType[] values() | |