Class: Efl::Native::EcoreGetopt

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/efl/ecore_getopt.rb

Instance Method Summary collapse

Instance Method Details

#desc_ptr(idx) ⇒ Object

:descs, :pointer, # NULL terminated EcoreGetopt_Desc[]



84
85
86
# File 'lib/efl/ecore_getopt.rb', line 84

def desc_ptr idx
    Native::EcoreGetoptDesc.new to_ptr+Native::EcoreGetopt.size+(idx*Native::EcoreGetoptDesc.size)
end