Project

General

Profile

Bug #7483 ยป fiddle-functions-stdcall.patch

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

View differences:

ext/fiddle/function.c (working copy)
*/
rb_define_const(cFiddleFunction, "DEFAULT", INT2NUM(FFI_DEFAULT_ABI));
#ifdef FFI_STDCALL
#ifdef HAVE_CONST_FFI_STDCALL
/*
* Document-const: STDCALL
*
ext/fiddle/extconf.rb (working copy)
end
end
have_const('FFI_STDCALL', 'ffi.h') || have_const('FFI_STDCALL', 'ffi/ffi.h')
config = File.read(RbConfig.expand(File.join($arch_hdrdir, "ruby/config.h")))
types = {"SIZE_T"=>"SSIZE_T", "PTRDIFF_T"=>nil, "INTPTR_T"=>nil}
types.each do |type, signed|
    (1-1/1)