class FFI::AutoPointer::DefaultReleaser
AutoPointer with a #release
class method.
or Method. In this case, the pointer to release must be of a class derived from
DefaultReleaser is a {Releaser} used when an {AutoPointer} is defined without Proc
def release(ptr)
-
(nil)
-
Parameters:
-
ptr
(Pointer
) --
def release(ptr) @proc.release(ptr) end