public final class TruffleNFISupport extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
errnoGetterFunctionName |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeLocalScope(LocalNativeScope current,
LocalNativeScope parent) |
com.oracle.svm.truffle.nfi.LibFFI.NativeClosureHandle |
createClosureHandle(com.oracle.svm.truffle.nfi.NativeClosure closure) |
com.oracle.svm.truffle.nfi.NativeAPI.TruffleContextHandle |
createContextHandle(com.oracle.svm.truffle.nfi.Target_com_oracle_truffle_nfi_impl_NFIContext context) |
TruffleObjectHandle |
createGlobalHandle(Object obj) |
static TruffleObjectHandle |
createLocalHandle(Object obj) |
static LocalNativeScope |
createLocalScope(int pinCount) |
void |
destroyClosureHandle(com.oracle.svm.truffle.nfi.LibFFI.NativeClosureHandle handle) |
void |
destroyContextHandle(com.oracle.svm.truffle.nfi.NativeAPI.TruffleContextHandle handle) |
void |
destroyGlobalHandle(TruffleObjectHandle handle) |
com.oracle.svm.truffle.nfi.NativeClosure |
resolveClosureHandle(com.oracle.svm.truffle.nfi.LibFFI.NativeClosureHandle handle) |
com.oracle.svm.truffle.nfi.Target_com_oracle_truffle_nfi_impl_NFIContext |
resolveContextHandle(com.oracle.svm.truffle.nfi.NativeAPI.TruffleContextHandle handle) |
Object |
resolveHandle(TruffleObjectHandle handle) |
public final String errnoGetterFunctionName
public static LocalNativeScope createLocalScope(int pinCount)
public static void closeLocalScope(LocalNativeScope current, LocalNativeScope parent)
public static TruffleObjectHandle createLocalHandle(Object obj)
public TruffleObjectHandle createGlobalHandle(Object obj)
public void destroyGlobalHandle(TruffleObjectHandle handle)
public Object resolveHandle(TruffleObjectHandle handle)
public com.oracle.svm.truffle.nfi.LibFFI.NativeClosureHandle createClosureHandle(com.oracle.svm.truffle.nfi.NativeClosure closure)
public com.oracle.svm.truffle.nfi.NativeClosure resolveClosureHandle(com.oracle.svm.truffle.nfi.LibFFI.NativeClosureHandle handle)
public void destroyClosureHandle(com.oracle.svm.truffle.nfi.LibFFI.NativeClosureHandle handle)
public com.oracle.svm.truffle.nfi.NativeAPI.TruffleContextHandle createContextHandle(com.oracle.svm.truffle.nfi.Target_com_oracle_truffle_nfi_impl_NFIContext context)
public com.oracle.svm.truffle.nfi.Target_com_oracle_truffle_nfi_impl_NFIContext resolveContextHandle(com.oracle.svm.truffle.nfi.NativeAPI.TruffleContextHandle handle)
public void destroyContextHandle(com.oracle.svm.truffle.nfi.NativeAPI.TruffleContextHandle handle)