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