Class: FFI::GPhoto2::CameraFile

Inherits:
ManagedStruct
  • Object
show all
Defined in:
lib/ffi/gphoto2/camera_file.rb

Constant Summary collapse

MAX_PATH =
256

Class Method Summary collapse

Class Method Details

.release(ptr) ⇒ Object



23
24
25
# File 'lib/ffi/gphoto2/camera_file.rb', line 23

def self.release(ptr)
  FFI::GPhoto2.gp_file_free(ptr)
end