method
parse_bind_options
v2_2_9 -
Show latest stable
- Class:
Fiddle::Importer
parse_bind_options(opts)private
No documentation available.
# File ext/fiddle/lib/fiddle/import.rb, line 133
def parse_bind_options(opts)
h = {}
while( opt = opts.shift() )
case opt
when :stdcall, :cdecl
h[:call_type] = opt
when :carried, :temp, :temporal, :bind
h[:callback_type] = opt
h[:carrier] = opts.shift()
else
h[opt] = true
end
end
h
end