DefaultReleaser is a {Releaser} used when an {AutoPointer} is defined without Proc or Method. In this case, the pointer to release must be of a class derived from AutoPointer with a #release class method.
@param [Pointer] ptr @return [nil] Release ptr by using his release class method.
# File lib/ffi/autopointer.rb, line 146 def release(ptr) @proc.release(ptr) end
Generated with the Darkfish Rdoc Generator 2.