Method: Efl::EcoreGetopt::REcoreGetopt#callback_full

Defined in:
lib/efl/ecore_getopt.rb

#callback_full(short, long, help, meta, cb, data, arg_req, type, def_val) ⇒ Object



318
319
320
321
322
# File 'lib/efl/ecore_getopt.rb', line 318

def callback_full short, long, help, meta, cb, data, arg_req, type, def_val
    pt, ptr = set_value short, type, def_val
    arg_req = ( arg_req ? :ecore_getopt_desc_arg_requirement_yes : :ecore_getopt_desc_arg_requirement_no )
    set_option [ short, long, help, meta, :ecore_getopt_action_callback, [:callback, [cb, want_p(data), arg_req, ptr ] ] ]
end