CallableReleaser is a {Releaser} used when an {AutoPointer} is defined with a Proc or a Method.
Release ptr
by using Proc or Method defined at
ptr
{AutoPointer#initialize initialization}. @param [Pointer]
ptr @return [nil]
# File lib/ffi/autopointer.rb, line 167 def release(ptr) @proc.call(ptr) end