Project

General

Profile

Bug #7484 ยป stdcall.patch

ngoto (Naohisa Goto), 12/01/2012 02:39 AM

View differences:

ext/fiddle/lib/fiddle/import.rb (working copy)
134 134
      h = {}
135 135
      while( opt = opts.shift() )
136 136
        case opt
137
        when :stdcall, :cdecl
138
          h[:call_type] = opt
137
        when :stdcall
138
          h[:call_type] = (Function::STDCALL rescue nil)
139
        when :cdecl
140
          h[:call_type] = nil
139 141
        when :carried, :temp, :temporal, :bind
140 142
          h[:callback_type] = opt
141 143
          h[:carrier] = opts.shift()