| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final int | |
| private final ByteOrder | |
| private final int | |
| private final Type[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final long | addressMask()
Implements abstract jnr. |
| public final int | Returns: The size of an address in bytes.Implements abstract jnr. |
| public final ByteOrder | Returns: this runtime's byte orderImplements abstract jnr. |
| public final Type | findType(NativeType
The native pseudo-type. type)Implements abstract jnr. |
| public abstract int | Returns: The errno value.Implements abstract jnr. |
| public abstract MemoryManager | Returns: aMemoryManagerImplements abstract jnr. |
| public final int | Returns: The size of a C long integer in bytes.Implements abstract jnr. |
| public abstract void | setLastError(int
The value to set errno to. error)Implements abstract jnr. |
| addressMask | back to summary |
|---|---|
| private final long addressMask | |
| addressSize | back to summary |
|---|---|
| private final int addressSize | |
| byteOrder | back to summary |
|---|---|
| private final ByteOrder byteOrder | |
| longSize | back to summary |
|---|---|
| private final int longSize | |
| types | back to summary |
|---|---|
| private final Type[] types | |
| AbstractRuntime | back to summary |
|---|---|
| public AbstractRuntime(ByteOrder byteOrder, EnumMap<NativeType, Type> typeMap) | |
| addressMask | back to summary |
|---|---|
| public final long addressMask() Implements abstract jnr. Gets the address mask for this runtime
| |
| addressSize | back to summary |
|---|---|
| public final int addressSize() Implements abstract jnr. Gets the size of an address (e.g. a pointer) for this runtime
| |
| byteOrder | back to summary |
|---|---|
| public final ByteOrder byteOrder() Implements abstract jnr. Retrieves this runtime's native byte order.
| |
| findType | back to summary |
|---|---|
| public final Type findType(NativeType type) Implements abstract jnr. Looks up the runtime-specific that corresponds to the pseudo-type
| |
| getLastError | back to summary |
|---|---|
| public abstract int getLastError() Implements abstract jnr. Gets the last native error code. This returns the errno value that was set at the time of the last native function call.
| |
| getMemoryManager | back to summary |
|---|---|
| public abstract MemoryManager getMemoryManager() Implements abstract jnr. Gets the native memory manager instance for this runtime
| |
| longSize | back to summary |
|---|---|
| public final int longSize() Implements abstract jnr. Gets the size of a C long integer for this runtime
| |
| setLastError | back to summary |
|---|---|
| public abstract void setLastError(int error) Implements abstract jnr. Sets the native error code.
| |