Module: GPhoto2::Struct

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ptrFFI::Struct (readonly)

Returns:

  • (FFI::Struct)


4
5
6
# File 'lib/gphoto2/struct.rb', line 4

def ptr
  @ptr
end

Instance Method Details

#to_ptrFFI::Struct

Returns:

  • (FFI::Struct)


7
8
9
# File 'lib/gphoto2/struct.rb', line 7

def to_ptr
  ptr
end