ffi 1.0.9-x86-mingw32 → 1.0.12.pre-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ffi might be problematic. Click here for more details.
- data/Rakefile +16 -16
- data/ext/ffi_c/AbstractMemory.c +376 -14
- data/ext/ffi_c/AbstractMemory.h +8 -0
- data/ext/ffi_c/ArrayType.c +28 -0
- data/ext/ffi_c/Buffer.c +109 -25
- data/ext/ffi_c/Call.c +16 -5
- data/ext/ffi_c/ClosurePool.c +21 -8
- data/ext/ffi_c/DataConverter.c +29 -0
- data/ext/ffi_c/DynamicLibrary.c +71 -2
- data/ext/ffi_c/Function.c +122 -11
- data/ext/ffi_c/Function.h +6 -0
- data/ext/ffi_c/FunctionInfo.c +21 -1
- data/ext/ffi_c/LastError.c +24 -0
- data/ext/ffi_c/MappedType.c +22 -0
- data/ext/ffi_c/MemoryPointer.c +19 -1
- data/ext/ffi_c/MemoryPointer.h +6 -0
- data/ext/ffi_c/MethodHandle.c +26 -11
- data/ext/ffi_c/Platform.c +17 -3
- data/ext/ffi_c/Pointer.c +106 -0
- data/ext/ffi_c/Pointer.h +6 -0
- data/ext/ffi_c/Struct.c +10 -4
- data/ext/ffi_c/Struct.h +2 -1
- data/ext/ffi_c/StructByReference.c +8 -0
- data/ext/ffi_c/StructByValue.c +8 -0
- data/ext/ffi_c/StructLayout.c +8 -2
- data/ext/ffi_c/Thread.c +131 -1
- data/ext/ffi_c/Thread.h +6 -0
- data/ext/ffi_c/Type.c +111 -17
- data/ext/ffi_c/Types.c +9 -2
- data/ext/ffi_c/Types.h +4 -0
- data/ext/ffi_c/Variadic.c +13 -4
- data/ext/ffi_c/compat.h +8 -0
- data/ext/ffi_c/endian.h +10 -1
- data/ext/ffi_c/extconf.rb +51 -35
- data/ext/ffi_c/ffi.c +5 -0
- data/ext/ffi_c/libffi.darwin.mk +15 -15
- data/ext/ffi_c/libffi.gnu.mk +3 -3
- data/ext/ffi_c/libffi.mk +4 -4
- data/ext/ffi_c/libffi.vc.mk +26 -0
- data/ext/ffi_c/libffi.vc64.mk +26 -0
- data/ext/ffi_c/libffi/ChangeLog +541 -0
- data/ext/ffi_c/libffi/ChangeLog.libffi +13 -87
- data/ext/ffi_c/libffi/LICENSE +3 -3
- data/ext/ffi_c/libffi/Makefile.am +41 -32
- data/ext/ffi_c/libffi/Makefile.in +95 -66
- data/ext/ffi_c/libffi/Makefile.vc +141 -0
- data/ext/ffi_c/libffi/Makefile.vc64 +141 -0
- data/ext/ffi_c/libffi/README +40 -4
- data/ext/ffi_c/libffi/aclocal.m4 +729 -7854
- data/ext/ffi_c/libffi/build-ios.sh +67 -0
- data/ext/ffi_c/libffi/compile +11 -10
- data/ext/ffi_c/libffi/config.guess +4 -1
- data/ext/ffi_c/libffi/config.sub +6 -3
- data/ext/ffi_c/libffi/configure +6264 -6354
- data/ext/ffi_c/libffi/configure.ac +155 -63
- data/ext/ffi_c/libffi/depcomp +81 -35
- data/ext/ffi_c/libffi/doc/libffi.info +78 -18
- data/ext/ffi_c/libffi/doc/libffi.texi +64 -5
- data/ext/ffi_c/libffi/doc/stamp-vti +4 -4
- data/ext/ffi_c/libffi/doc/version.texi +4 -4
- data/ext/ffi_c/libffi/fficonfig.h.in +18 -0
- data/ext/ffi_c/libffi/fficonfig.hw +57 -0
- data/ext/ffi_c/libffi/include/Makefile.in +21 -3
- data/ext/ffi_c/libffi/include/ffi.h.in +42 -14
- data/ext/ffi_c/libffi/include/ffi.h.vc +427 -0
- data/ext/ffi_c/libffi/include/ffi.h.vc64 +427 -0
- data/ext/ffi_c/libffi/include/ffi_common.h +9 -5
- data/ext/ffi_c/libffi/install-sh +364 -167
- data/ext/ffi_c/libffi/ltmain.sh +2599 -1369
- data/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +176 -0
- data/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +195 -0
- data/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4 +76 -0
- data/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +63 -0
- data/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
- data/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +300 -0
- data/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +215 -0
- data/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +79 -0
- data/ext/ffi_c/libffi/m4/libtool.m4 +1239 -768
- data/ext/ffi_c/libffi/m4/ltoptions.m4 +7 -6
- data/ext/ffi_c/libffi/m4/ltversion.m4 +6 -6
- data/ext/ffi_c/libffi/m4/lt~obsolete.m4 +9 -3
- data/ext/ffi_c/libffi/man/Makefile.in +21 -3
- data/ext/ffi_c/libffi/mdate-sh +0 -0
- data/ext/ffi_c/libffi/missing +60 -44
- data/ext/ffi_c/libffi/msvcc.sh +197 -0
- data/ext/ffi_c/libffi/src/alpha/osf.S +39 -18
- data/ext/ffi_c/libffi/src/arm/ffi.c +443 -24
- data/ext/ffi_c/libffi/src/arm/ffitarget.h +17 -1
- data/ext/ffi_c/libffi/src/arm/gentramp.sh +118 -0
- data/ext/ffi_c/libffi/src/arm/sysv.S +206 -15
- data/ext/ffi_c/libffi/src/arm/trampoline.S +4450 -0
- data/ext/ffi_c/libffi/src/avr32/ffi.c +4 -2
- data/ext/ffi_c/libffi/src/avr32/ffitarget.h +2 -2
- data/ext/ffi_c/libffi/src/closures.c +17 -35
- data/ext/ffi_c/libffi/src/cris/ffi.c +1 -1
- data/ext/ffi_c/libffi/src/cris/ffitarget.h +2 -2
- data/ext/ffi_c/libffi/src/dlmalloc.c +66 -4
- data/ext/ffi_c/libffi/src/frv/ffitarget.h +2 -6
- data/ext/ffi_c/libffi/src/ia64/ffi.c +7 -5
- data/ext/ffi_c/libffi/src/ia64/ffitarget.h +2 -2
- data/ext/ffi_c/libffi/src/java_raw_api.c +1 -1
- data/ext/ffi_c/libffi/src/m32r/ffitarget.h +2 -2
- data/ext/ffi_c/libffi/src/m68k/ffi.c +10 -0
- data/ext/ffi_c/libffi/src/m68k/ffitarget.h +2 -2
- data/ext/ffi_c/libffi/src/m68k/sysv.S +36 -0
- data/ext/ffi_c/libffi/src/mips/ffi.c +12 -5
- data/ext/ffi_c/libffi/src/mips/ffitarget.h +18 -11
- data/ext/ffi_c/libffi/src/mips/n32.S +4 -4
- data/ext/ffi_c/libffi/src/moxie/eabi.S +128 -0
- data/ext/ffi_c/libffi/src/moxie/ffi.c +276 -0
- data/ext/ffi_c/libffi/src/pa/ffi.c +7 -4
- data/ext/ffi_c/libffi/src/pa/ffitarget.h +6 -5
- data/ext/ffi_c/libffi/src/powerpc/aix.S +5 -1
- data/ext/ffi_c/libffi/src/powerpc/aix_closure.S +2 -0
- data/ext/ffi_c/libffi/src/powerpc/asm.h +1 -1
- data/ext/ffi_c/libffi/src/powerpc/darwin.S +215 -77
- data/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +358 -100
- data/ext/ffi_c/libffi/src/powerpc/ffi.c +11 -5
- data/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +603 -172
- data/ext/ffi_c/libffi/src/powerpc/ffitarget.h +17 -4
- data/ext/ffi_c/libffi/src/prep_cif.c +16 -13
- data/ext/ffi_c/libffi/src/s390/ffitarget.h +4 -2
- data/ext/ffi_c/libffi/src/sh/ffitarget.h +2 -2
- data/ext/ffi_c/libffi/src/sh64/ffitarget.h +2 -2
- data/ext/ffi_c/libffi/src/sparc/ffi.c +55 -11
- data/ext/ffi_c/libffi/src/sparc/ffitarget.h +5 -3
- data/ext/ffi_c/libffi/src/x86/ffi.c +54 -92
- data/ext/ffi_c/libffi/src/x86/ffi64.c +17 -8
- data/ext/ffi_c/libffi/src/x86/ffitarget.h +15 -14
- data/ext/ffi_c/libffi/src/x86/sysv.S +40 -26
- data/ext/ffi_c/libffi/src/x86/unix64.S +4 -0
- data/ext/ffi_c/libffi/src/x86/win32.S +379 -191
- data/ext/ffi_c/libffi/src/x86/win64.S +15 -7
- data/ext/ffi_c/libffi/testsuite/Makefile.am +1 -1
- data/ext/ffi_c/libffi/testsuite/Makefile.in +22 -4
- data/ext/ffi_c/libffi/testsuite/lib/libffi.exp +350 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +1 -5
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +1 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +1 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +3 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +2 -2
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +3 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +1 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +2 -3
- data/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +2 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +36 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +17 -17
- data/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +1 -0
- data/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +1 -0
- data/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +1 -3
- data/ext/ffi_c/win32/stdint.h +199 -0
- data/gen/Rakefile +18 -2
- data/lib/1.8/ffi_c.so +0 -0
- data/lib/ffi.rb +13 -9
- data/lib/ffi/autopointer.rb +88 -26
- data/lib/ffi/enum.rb +42 -0
- data/lib/ffi/errno.rb +6 -1
- data/lib/ffi/ffi.rb +1 -0
- data/lib/ffi/io.rb +13 -2
- data/lib/ffi/library.rb +219 -24
- data/lib/ffi/memorypointer.rb +1 -33
- data/lib/ffi/platform.rb +21 -7
- data/lib/ffi/platform/arm-linux/types.conf +102 -0
- data/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/lib/ffi/platform/i486-gnu/types.conf +107 -0
- data/lib/ffi/platform/ia64-linux/types.conf +102 -0
- data/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/lib/ffi/platform/powerpc-linux/types.conf +100 -0
- data/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/lib/ffi/platform/x86_64-freebsd/types.conf +126 -0
- data/lib/ffi/platform/x86_64-netbsd/types.conf +126 -0
- data/lib/ffi/pointer.rb +44 -0
- data/lib/ffi/struct.rb +2 -6
- data/lib/ffi/struct_layout_builder.rb +2 -1
- data/lib/ffi/tools/const_generator.rb +78 -26
- data/lib/ffi/tools/types_generator.rb +8 -1
- data/lib/ffi/types.rb +21 -1
- data/spec/ffi/async_callback_spec.rb +2 -2
- data/spec/ffi/bool_spec.rb +6 -6
- data/spec/ffi/buffer_spec.rb +23 -23
- data/spec/ffi/callback_spec.rb +101 -102
- data/spec/ffi/custom_type_spec.rb +20 -24
- data/spec/ffi/dup_spec.rb +7 -7
- data/spec/ffi/enum_spec.rb +127 -127
- data/spec/ffi/errno_spec.rb +2 -2
- data/spec/ffi/ffi_spec.rb +3 -3
- data/spec/ffi/function_spec.rb +10 -10
- data/spec/ffi/library_spec.rb +30 -12
- data/spec/ffi/managed_struct_spec.rb +4 -4
- data/spec/ffi/number_spec.rb +40 -40
- data/spec/ffi/pointer_spec.rb +21 -24
- data/spec/ffi/rbx/memory_pointer_spec.rb +17 -15
- data/spec/ffi/rbx/struct_spec.rb +2 -2
- data/spec/ffi/spec_helper.rb +1 -1
- data/spec/ffi/string_spec.rb +9 -9
- data/spec/ffi/strptr_spec.rb +3 -3
- data/spec/ffi/struct_callback_spec.rb +7 -7
- data/spec/ffi/struct_initialize_spec.rb +2 -2
- data/spec/ffi/struct_packed_spec.rb +6 -6
- data/spec/ffi/struct_spec.rb +94 -84
- data/spec/ffi/typedef_spec.rb +15 -4
- data/spec/ffi/union_spec.rb +3 -3
- data/spec/ffi/variadic_spec.rb +17 -14
- data/tasks/extension.rake +0 -1
- data/tasks/gem.rake +0 -1
- data/tasks/rdoc.rake +1 -1
- data/tasks/yard.rake +11 -0
- metadata +50 -11
- data/lib/1.9/ffi_c.so +0 -0
data/spec/ffi/typedef_spec.rb
CHANGED
@@ -23,7 +23,7 @@ describe "Custom type definitions" do
|
|
23
23
|
typedef :uint, :fubar_t
|
24
24
|
attach_function :ret_u32, [ :fubar_t ], :fubar_t
|
25
25
|
end
|
26
|
-
CustomTypedef.ret_u32(0x12345678).should
|
26
|
+
CustomTypedef.ret_u32(0x12345678).should eq 0x12345678
|
27
27
|
end
|
28
28
|
it "variadic invoker with custom typedef" do
|
29
29
|
module VariadicCustomTypedef
|
@@ -34,7 +34,7 @@ describe "Custom type definitions" do
|
|
34
34
|
end
|
35
35
|
buf = FFI::Buffer.new :uint, 10
|
36
36
|
VariadicCustomTypedef.pack_varargs(buf, "i", :fubar_t, 0x12345678)
|
37
|
-
buf.get_int64(0).should
|
37
|
+
buf.get_int64(0).should eq 0x12345678
|
38
38
|
end
|
39
39
|
it "Callback with custom typedef parameter" do
|
40
40
|
module CallbackCustomTypedef
|
@@ -46,7 +46,7 @@ describe "Custom type definitions" do
|
|
46
46
|
end
|
47
47
|
i = 0
|
48
48
|
CallbackCustomTypedef.testCallbackU32rV(0xdeadbeef) { |v| i = v }
|
49
|
-
i.should
|
49
|
+
i.should eq 0xdeadbeef
|
50
50
|
end
|
51
51
|
module StructCustomTypedef
|
52
52
|
extend FFI::Library
|
@@ -59,7 +59,7 @@ describe "Custom type definitions" do
|
|
59
59
|
it "Struct with custom typedef field" do
|
60
60
|
s = StructCustomTypedef::S.new
|
61
61
|
s[:a] = 0x12345678
|
62
|
-
s.pointer.get_uint(0).should
|
62
|
+
s.pointer.get_uint(0).should eq 0x12345678
|
63
63
|
end
|
64
64
|
|
65
65
|
it "attach_function after a typedef should not reject normal types" do
|
@@ -75,4 +75,15 @@ describe "Custom type definitions" do
|
|
75
75
|
end
|
76
76
|
end.should_not raise_error
|
77
77
|
end
|
78
|
+
|
79
|
+
it "detects the correct type for size_t" do
|
80
|
+
lambda do
|
81
|
+
Module.new do
|
82
|
+
extend FFI::Library
|
83
|
+
ffi_lib "c"
|
84
|
+
# read(2) is a standard UNIX function
|
85
|
+
attach_function :read, [:int, :pointer, :size_t], :ssize_t
|
86
|
+
end
|
87
|
+
end.should_not raise_error
|
88
|
+
end
|
78
89
|
end
|
data/spec/ffi/union_spec.rb
CHANGED
@@ -56,7 +56,7 @@ describe 'Union' do
|
|
56
56
|
if k == 'f32' or k == 'f64'
|
57
57
|
(@u[type[1]] - LibTest.send("union_align_#{k}", @u.to_ptr)).abs.should < 0.00001
|
58
58
|
else
|
59
|
-
@u[type[1]].should
|
59
|
+
@u[type[1]].should eq LibTest.send("union_align_#{k}", @u.to_ptr)
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
@@ -66,11 +66,11 @@ describe 'Union' do
|
|
66
66
|
if k == 'f32' or k == 'f64'
|
67
67
|
(@u[type[1]] - type[2]).abs.should < 0.00001
|
68
68
|
else
|
69
|
-
@u[type[1]].should
|
69
|
+
@u[type[1]].should eq type[2]
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|
73
73
|
it 'should return a size equals to the size of the biggest field' do
|
74
|
-
LibTest::TestUnion.size.should
|
74
|
+
LibTest::TestUnion.size.should eq LibTest.union_size
|
75
75
|
end
|
76
76
|
end
|
data/spec/ffi/variadic_spec.rb
CHANGED
@@ -25,30 +25,31 @@ describe "Function with variadic arguments" do
|
|
25
25
|
it "call variadic with (:char (#{i})) argument" do
|
26
26
|
buf = FFI::Buffer.new :long_long
|
27
27
|
LibTest.pack_varargs(buf, "c", :char, i)
|
28
|
-
buf.get_int64(0).should
|
28
|
+
buf.get_int64(0).should eq i
|
29
29
|
end
|
30
30
|
end
|
31
31
|
[ 0, 0x7f, 0x80, 0xff ].each do |i|
|
32
32
|
it "call variadic with (:uchar (#{i})) argument" do
|
33
33
|
buf = FFI::Buffer.new :long_long
|
34
34
|
LibTest.pack_varargs(buf, "C", :uchar, i)
|
35
|
-
buf.get_int64(0).should
|
35
|
+
buf.get_int64(0).should eq i
|
36
36
|
end
|
37
37
|
end
|
38
38
|
[ 0, 1.234567, 9.87654321 ].each do |v|
|
39
39
|
it "call variadic with (:float (#{v})) argument" do
|
40
40
|
buf = FFI::Buffer.new :long_long
|
41
41
|
LibTest.pack_varargs(buf, "f", :float, v.to_f)
|
42
|
-
buf.get_float64(0).should
|
42
|
+
buf.get_float64(0).should eq v
|
43
43
|
end
|
44
44
|
end
|
45
45
|
[ 0, 1.234567, 9.87654321 ].each do |v|
|
46
46
|
it "call variadic with (:double (#{v})) argument" do
|
47
47
|
buf = FFI::Buffer.new :long_long
|
48
48
|
LibTest.pack_varargs(buf, "f", :double, v.to_f)
|
49
|
-
buf.get_float64(0).should
|
49
|
+
buf.get_float64(0).should eq v
|
50
50
|
end
|
51
51
|
end
|
52
|
+
|
52
53
|
module Varargs
|
53
54
|
PACK_VALUES = {
|
54
55
|
'c' => [ 0x12 ],
|
@@ -68,14 +69,16 @@ describe "Function with variadic arguments" do
|
|
68
69
|
'i' => :int, 'I' => :uint, 'j' => :long_long, 'J' => :ulong_long,
|
69
70
|
'l' => :long, 'L' => :ulong, 'f' => :float, 'd' => :double
|
70
71
|
}
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
72
|
+
end
|
73
|
+
|
74
|
+
def verify(p, off, v)
|
75
|
+
if v.kind_of?(Float)
|
76
|
+
p.get_float64(off).should eq v
|
77
|
+
else
|
78
|
+
p.get_int64(off).should eq v
|
77
79
|
end
|
78
80
|
end
|
81
|
+
|
79
82
|
Varargs::PACK_VALUES.keys.each do |t1|
|
80
83
|
Varargs::PACK_VALUES.keys.each do |t2|
|
81
84
|
Varargs::PACK_VALUES.keys.each do |t3|
|
@@ -87,9 +90,9 @@ describe "Function with variadic arguments" do
|
|
87
90
|
it "call(#{fmt}, #{params.join(',')})" do
|
88
91
|
buf = FFI::Buffer.new :long_long, 3
|
89
92
|
LibTest.pack_varargs(buf, fmt, *params)
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
+
verify(buf, 0, v1)
|
94
|
+
verify(buf, 8, v2)
|
95
|
+
verify(buf, 16, v3)
|
93
96
|
end
|
94
97
|
end
|
95
98
|
end
|
@@ -97,4 +100,4 @@ describe "Function with variadic arguments" do
|
|
97
100
|
end
|
98
101
|
end
|
99
102
|
end
|
100
|
-
end
|
103
|
+
end
|
data/tasks/extension.rake
CHANGED
data/tasks/gem.rake
CHANGED
data/tasks/rdoc.rake
CHANGED
data/tasks/yard.rake
ADDED
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: -913866008
|
5
|
+
prerelease: 7
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
|
9
|
+
- 12
|
10
|
+
- pre
|
11
|
+
version: 1.0.12.pre
|
11
12
|
platform: x86-mingw32
|
12
13
|
authors:
|
13
14
|
- Wayne Meissner
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date:
|
19
|
+
date: 2012-02-16 00:00:00 +10:00
|
19
20
|
default_executable:
|
20
21
|
dependencies: []
|
21
22
|
|
@@ -61,6 +62,7 @@ files:
|
|
61
62
|
- ext/ffi_c/LastError.h
|
62
63
|
- ext/ffi_c/libffi/acinclude.m4
|
63
64
|
- ext/ffi_c/libffi/aclocal.m4
|
65
|
+
- ext/ffi_c/libffi/build-ios.sh
|
64
66
|
- ext/ffi_c/libffi/ChangeLog
|
65
67
|
- ext/ffi_c/libffi/ChangeLog.libffi
|
66
68
|
- ext/ffi_c/libffi/ChangeLog.libgcj
|
@@ -77,7 +79,10 @@ files:
|
|
77
79
|
- ext/ffi_c/libffi/doc/stamp-vti
|
78
80
|
- ext/ffi_c/libffi/doc/version.texi
|
79
81
|
- ext/ffi_c/libffi/fficonfig.h.in
|
82
|
+
- ext/ffi_c/libffi/fficonfig.hw
|
80
83
|
- ext/ffi_c/libffi/include/ffi.h.in
|
84
|
+
- ext/ffi_c/libffi/include/ffi.h.vc
|
85
|
+
- ext/ffi_c/libffi/include/ffi.h.vc64
|
81
86
|
- ext/ffi_c/libffi/include/ffi_common.h
|
82
87
|
- ext/ffi_c/libffi/include/Makefile.am
|
83
88
|
- ext/ffi_c/libffi/include/Makefile.in
|
@@ -86,6 +91,14 @@ files:
|
|
86
91
|
- ext/ffi_c/libffi/libtool-version
|
87
92
|
- ext/ffi_c/libffi/LICENSE
|
88
93
|
- ext/ffi_c/libffi/ltmain.sh
|
94
|
+
- ext/ffi_c/libffi/m4/ax_cc_maxopt.m4
|
95
|
+
- ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4
|
96
|
+
- ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4
|
97
|
+
- ext/ffi_c/libffi/m4/ax_compiler_vendor.m4
|
98
|
+
- ext/ffi_c/libffi/m4/ax_configure_args.m4
|
99
|
+
- ext/ffi_c/libffi/m4/ax_enable_builddir.m4
|
100
|
+
- ext/ffi_c/libffi/m4/ax_gcc_archflag.m4
|
101
|
+
- ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4
|
89
102
|
- ext/ffi_c/libffi/m4/libtool.m4
|
90
103
|
- ext/ffi_c/libffi/m4/ltoptions.m4
|
91
104
|
- ext/ffi_c/libffi/m4/ltsugar.m4
|
@@ -93,6 +106,8 @@ files:
|
|
93
106
|
- ext/ffi_c/libffi/m4/lt~obsolete.m4
|
94
107
|
- ext/ffi_c/libffi/Makefile.am
|
95
108
|
- ext/ffi_c/libffi/Makefile.in
|
109
|
+
- ext/ffi_c/libffi/Makefile.vc
|
110
|
+
- ext/ffi_c/libffi/Makefile.vc64
|
96
111
|
- ext/ffi_c/libffi/man/ffi.3
|
97
112
|
- ext/ffi_c/libffi/man/ffi_call.3
|
98
113
|
- ext/ffi_c/libffi/man/ffi_prep_cif.3
|
@@ -100,13 +115,16 @@ files:
|
|
100
115
|
- ext/ffi_c/libffi/man/Makefile.in
|
101
116
|
- ext/ffi_c/libffi/mdate-sh
|
102
117
|
- ext/ffi_c/libffi/missing
|
118
|
+
- ext/ffi_c/libffi/msvcc.sh
|
103
119
|
- ext/ffi_c/libffi/README
|
104
120
|
- ext/ffi_c/libffi/src/alpha/ffi.c
|
105
121
|
- ext/ffi_c/libffi/src/alpha/ffitarget.h
|
106
122
|
- ext/ffi_c/libffi/src/alpha/osf.S
|
107
123
|
- ext/ffi_c/libffi/src/arm/ffi.c
|
108
124
|
- ext/ffi_c/libffi/src/arm/ffitarget.h
|
125
|
+
- ext/ffi_c/libffi/src/arm/gentramp.sh
|
109
126
|
- ext/ffi_c/libffi/src/arm/sysv.S
|
127
|
+
- ext/ffi_c/libffi/src/arm/trampoline.S
|
110
128
|
- ext/ffi_c/libffi/src/avr32/ffi.c
|
111
129
|
- ext/ffi_c/libffi/src/avr32/ffitarget.h
|
112
130
|
- ext/ffi_c/libffi/src/avr32/sysv.S
|
@@ -134,6 +152,8 @@ files:
|
|
134
152
|
- ext/ffi_c/libffi/src/mips/ffitarget.h
|
135
153
|
- ext/ffi_c/libffi/src/mips/n32.S
|
136
154
|
- ext/ffi_c/libffi/src/mips/o32.S
|
155
|
+
- ext/ffi_c/libffi/src/moxie/eabi.S
|
156
|
+
- ext/ffi_c/libffi/src/moxie/ffi.c
|
137
157
|
- ext/ffi_c/libffi/src/pa/ffi.c
|
138
158
|
- ext/ffi_c/libffi/src/pa/ffitarget.h
|
139
159
|
- ext/ffi_c/libffi/src/pa/hpux32.S
|
@@ -178,6 +198,7 @@ files:
|
|
178
198
|
- ext/ffi_c/libffi/src/x86/win64.S
|
179
199
|
- ext/ffi_c/libffi/testsuite/config/default.exp
|
180
200
|
- ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp
|
201
|
+
- ext/ffi_c/libffi/testsuite/lib/libffi.exp
|
181
202
|
- ext/ffi_c/libffi/testsuite/lib/target-libpath.exp
|
182
203
|
- ext/ffi_c/libffi/testsuite/lib/wrapper.exp
|
183
204
|
- ext/ffi_c/libffi/testsuite/libffi.call/call.exp
|
@@ -314,6 +335,8 @@ files:
|
|
314
335
|
- ext/ffi_c/libffi.darwin.mk
|
315
336
|
- ext/ffi_c/libffi.gnu.mk
|
316
337
|
- ext/ffi_c/libffi.mk
|
338
|
+
- ext/ffi_c/libffi.vc.mk
|
339
|
+
- ext/ffi_c/libffi.vc64.mk
|
317
340
|
- ext/ffi_c/MappedType.c
|
318
341
|
- ext/ffi_c/MappedType.h
|
319
342
|
- ext/ffi_c/MemoryPointer.c
|
@@ -339,6 +362,7 @@ files:
|
|
339
362
|
- ext/ffi_c/Types.c
|
340
363
|
- ext/ffi_c/Types.h
|
341
364
|
- ext/ffi_c/Variadic.c
|
365
|
+
- ext/ffi_c/win32/stdint.h
|
342
366
|
- gen/Rakefile
|
343
367
|
- lib/ffi/autopointer.rb
|
344
368
|
- lib/ffi/buffer.rb
|
@@ -350,17 +374,30 @@ files:
|
|
350
374
|
- lib/ffi/library.rb
|
351
375
|
- lib/ffi/managedstruct.rb
|
352
376
|
- lib/ffi/memorypointer.rb
|
377
|
+
- lib/ffi/platform/arm-linux/types.conf
|
353
378
|
- lib/ffi/platform/i386-darwin/types.conf
|
379
|
+
- lib/ffi/platform/i386-freebsd/types.conf
|
354
380
|
- lib/ffi/platform/i386-linux/types.conf
|
381
|
+
- lib/ffi/platform/i386-netbsd/types.conf
|
355
382
|
- lib/ffi/platform/i386-openbsd/types.conf
|
356
383
|
- lib/ffi/platform/i386-solaris/types.conf
|
357
384
|
- lib/ffi/platform/i386-windows/types.conf
|
385
|
+
- lib/ffi/platform/i486-gnu/types.conf
|
386
|
+
- lib/ffi/platform/ia64-linux/types.conf
|
387
|
+
- lib/ffi/platform/mips-linux/types.conf
|
388
|
+
- lib/ffi/platform/mipsel-linux/types.conf
|
358
389
|
- lib/ffi/platform/powerpc-aix/types.conf
|
359
390
|
- lib/ffi/platform/powerpc-darwin/types.conf
|
391
|
+
- lib/ffi/platform/powerpc-linux/types.conf
|
392
|
+
- lib/ffi/platform/s390-linux/types.conf
|
393
|
+
- lib/ffi/platform/s390x-linux/types.conf
|
394
|
+
- lib/ffi/platform/sparc-linux/types.conf
|
360
395
|
- lib/ffi/platform/sparc-solaris/types.conf
|
361
396
|
- lib/ffi/platform/sparcv9-solaris/types.conf
|
362
397
|
- lib/ffi/platform/x86_64-darwin/types.conf
|
398
|
+
- lib/ffi/platform/x86_64-freebsd/types.conf
|
363
399
|
- lib/ffi/platform/x86_64-linux/types.conf
|
400
|
+
- lib/ffi/platform/x86_64-netbsd/types.conf
|
364
401
|
- lib/ffi/platform/x86_64-openbsd/types.conf
|
365
402
|
- lib/ffi/platform/x86_64-solaris/types.conf
|
366
403
|
- lib/ffi/platform.rb
|
@@ -418,8 +455,8 @@ files:
|
|
418
455
|
- tasks/spec.rake
|
419
456
|
- tasks/svn.rake
|
420
457
|
- tasks/test.rake
|
458
|
+
- tasks/yard.rake
|
421
459
|
- lib/1.8/ffi_c.so
|
422
|
-
- lib/1.9/ffi_c.so
|
423
460
|
has_rdoc: true
|
424
461
|
homepage: http://wiki.github.com/ffi/ffi
|
425
462
|
licenses: []
|
@@ -441,16 +478,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
441
478
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
442
479
|
none: false
|
443
480
|
requirements:
|
444
|
-
- - "
|
481
|
+
- - ">"
|
445
482
|
- !ruby/object:Gem::Version
|
446
|
-
hash:
|
483
|
+
hash: 25
|
447
484
|
segments:
|
448
|
-
-
|
449
|
-
|
485
|
+
- 1
|
486
|
+
- 3
|
487
|
+
- 1
|
488
|
+
version: 1.3.1
|
450
489
|
requirements: []
|
451
490
|
|
452
491
|
rubyforge_project: ffi
|
453
|
-
rubygems_version: 1.
|
492
|
+
rubygems_version: 1.6.2
|
454
493
|
signing_key:
|
455
494
|
specification_version: 3
|
456
495
|
summary: Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code
|
data/lib/1.9/ffi_c.so
DELETED
Binary file
|