public abstract class NativePointerLibrary
extends com.oracle.truffle.api.library.Library
InteropLibrary messages
exported by some NFI objects. Those objects already implement the corresponding
InteropLibrary messages, but they cannot be used in the
AOT mode, as InteropLibrary is not an AOT-enabled library.| Constructor and Description |
|---|
NativePointerLibrary() |
| Modifier and Type | Method and Description |
|---|---|
long |
asPointer(Object receiver) |
boolean |
isPointer(Object receiver) |
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toString