Bug #7484 ยป stdcall.patch
| 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()
|
||