method

parse_bind_options

v2_1_10 - Show latest stable - Class: DL::Importer
parse_bind_options(opts)
private

No documentation available.

# File ext/dl/lib/dl/import.rb, line 114
    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