|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjnr.ffi.Runtime
jnr.ffi.provider.AbstractRuntime
jnr.ffi.provider.jffi.NativeRuntime
public final class NativeRuntime
| Method Summary | |
|---|---|
Type |
findType(TypeAlias type)
Looks up the runtime-specific that corresponds to the pseudo-type |
jnr.ffi.provider.jffi.NativeClosureManager |
getClosureManager()
|
static NativeRuntime |
getInstance()
|
int |
getLastError()
Gets the last native error code. |
NativeMemoryManager |
getMemoryManager()
Gets the native memory manager instance for this runtime |
ObjectReferenceManager |
newObjectReferenceManager()
|
void |
setLastError(int error)
Sets the native error code. |
| Methods inherited from class jnr.ffi.provider.AbstractRuntime |
|---|
addressMask, addressSize, byteOrder, findType, longSize |
| Methods inherited from class jnr.ffi.Runtime |
|---|
getSystemRuntime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final NativeRuntime getInstance()
public Type findType(TypeAlias type)
Runtime
findType in class Runtimepublic final NativeMemoryManager getMemoryManager()
AbstractRuntime
getMemoryManager in class AbstractRuntimeMemoryManagerpublic jnr.ffi.provider.jffi.NativeClosureManager getClosureManager()
public ObjectReferenceManager newObjectReferenceManager()
newObjectReferenceManager in class Runtimepublic int getLastError()
AbstractRuntimeThis returns the errno value that was set at the time of the last native function call.
getLastError in class AbstractRuntimepublic void setLastError(int error)
AbstractRuntime
setLastError in class AbstractRuntimeerror - The value to set errno to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||