public static interface Closure.Handle
ClosureManager
, as a strong reference
to the native closure trampoline.Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases the closure memory back to the operating system.
|
void |
free()
Deprecated.
|
long |
getAddress()
Gets the native code address of the closure.
|
void |
setAutoRelease(boolean autorelease)
Sets whether the closure memory should be released when the Handle is
garbage collected or not.
|
long getAddress()
void setAutoRelease(boolean autorelease)
autorelease
- If true, the closure memory is automatically managed,
else the closure memory must be explicitly freed.void dispose()
@Deprecated void free()
Copyright © 2016. All Rights Reserved.