class FFI::AutoPointer::CallableReleaser

Proc or a Method.
CallableReleaser is a {Releaser} used when an {AutoPointer} is defined with a

def release(ptr)

Returns:
  • (nil) -

Parameters:
  • ptr (Pointer) --
def release(ptr)
  @proc.call(ptr)
end