public NativeClosurePointer(jnr.ffi.Runtime runtime, com.kenai.jffi.Closure.Handle handle, NativeClosureProxy proxy) { super(runtime, handle.getAddress(), true); this.handle = handle; this.proxy = proxy; }
public synchronized void free() { if (!released) { this.proc = null; handle.dispose(); released = true; unmanaged = true; } }
public synchronized void setAutoRelease(boolean autorelease) { if (isAutoRelease() != autorelease) { handle.setAutoRelease(autorelease); unmanaged = !autorelease; } }
public NativeClosurePointer(jnr.ffi.Runtime runtime, com.kenai.jffi.Closure.Handle handle, NativeClosureProxy proxy) { super(runtime, handle.getAddress(), true); this.handle = handle; this.proxy = proxy; }
public CallbackMemoryIO(Ruby runtime, Closure.Handle handle, Object proc) { super(runtime, true, handle.getAddress(), "cannot access closure trampoline memory"); this.handle = handle; this.proc = proc; }
public NativeClosurePointer(jnr.ffi.Runtime runtime, com.kenai.jffi.Closure.Handle handle, NativeClosureProxy proxy) { super(runtime, handle.getAddress(), true); this.handle = handle; this.proxy = proxy; }
public CallbackMemoryIO(Ruby runtime, Closure.Handle handle, Object proc) { super(runtime, true, handle.getAddress(), "cannot access closure trampoline memory"); this.handle = handle; this.proc = proc; }
public synchronized void setAutoRelease(boolean autorelease) { if (isAutoRelease() != autorelease) { handle.setAutoRelease(autorelease); unmanaged = !autorelease; } }
public synchronized void setAutoRelease(boolean autorelease) { if (isAutoRelease() != autorelease) { handle.setAutoRelease(autorelease); unmanaged = !autorelease; } }
public synchronized void free() { if (!released) { this.proc = null; handle.dispose(); released = true; unmanaged = true; } }
public CallbackMemoryIO(Ruby runtime, Closure.Handle handle, Object proc) { super(runtime, true, handle.getAddress(), "cannot access closure trampoline memory"); this.handle = handle; this.proc = proc; }
public CallbackMemoryIO(Ruby runtime, Closure.Handle handle, Object proc) { super(runtime, true, handle.getAddress(), "cannot access closure trampoline memory"); this.handle = handle; this.proc = proc; }
public synchronized void free() { if (!released) { this.proc = null; handle.dispose(); released = true; unmanaged = true; } }
public synchronized void free() { if (!released) { this.proc = null; handle.dispose(); released = true; unmanaged = true; } }
public synchronized void setAutoRelease(boolean autorelease) { if (isAutoRelease() != autorelease) { handle.setAutoRelease(autorelease); unmanaged = !autorelease; } }