Class: GD2::FFIStruct::ImagePtr
- Inherits:
-
FFI::ManagedStruct
- Object
- FFI::ManagedStruct
- GD2::FFIStruct::ImagePtr
- Defined in:
- lib/gd2/ffi_struct.rb
Class Method Summary collapse
Class Method Details
.release(ptr) ⇒ Object
54 55 56 |
# File 'lib/gd2/ffi_struct.rb', line 54 def self.release(ptr) ::GD2::GD2FFI.gdImageDestroy(ptr) unless ptr.null? end |