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)
h = {}
while( opt = opts.shift() )
case opt
when :stdcall, :cdecl
h[:call_type] = opt
when :stdcall
h[:call_type] = (Function::STDCALL rescue nil)
when :cdecl
h[:call_type] = nil
when :carried, :temp, :temporal, :bind
h[:callback_type] = opt
h[:carrier] = opts.shift()
    (1-1/1)