Subject:
[ruby-ffi] Re: AutoPointer#free incorrect?
From:
cfis
Date:
8/30/11 2:26 AM
To:
ruby-ffi

The class definition above should have been:

class Bitmap < FFI::AutoPointer
  def self.release(ptr) #:nodoc:
    FreeImage.FreeImage_Unload(ptr)
  end
  ....
end


Charlie