Class: Efl::Native::EcoreGetopt
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Efl::Native::EcoreGetopt
- Defined in:
- lib/efl/ecore_getopt.rb
Instance Method Summary collapse
-
#desc_ptr(idx) ⇒ Object
:descs, :pointer, # NULL terminated EcoreGetopt_Desc[].
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 |