class CallbackReference
extends java.lang.ref.WeakReference
Callback closure.| Modifier and Type | Field and Description |
|---|---|
(package private) static java.util.Map |
altCallbackMap |
(package private) static java.util.Map |
callbackMap |
(package private) Pointer |
cbstruct |
(package private) CallbackProxy |
proxy |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize()
Free native resources associated with this callback.
|
static Callback |
getCallback(java.lang.Class type,
Pointer p)
Return a Callback associated with the given function pointer.
|
static Pointer |
getFunctionPointer(Callback cb)
Return a
Pointer to the native function address for the
given callback. |
Pointer |
getTrampoline()
Obtain a pointer to the native glue code for this callback.
|
static final java.util.Map callbackMap
static final java.util.Map altCallbackMap
Pointer cbstruct
CallbackProxy proxy
public static Callback getCallback(java.lang.Class type, Pointer p)
public Pointer getTrampoline()
protected void finalize()
finalize in class java.lang.Object