ffi 1.9.25 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +212 -0
- data/Gemfile +3 -4
- data/README.md +38 -18
- data/Rakefile +55 -146
- data/ext/ffi_c/AbstractMemory.c +29 -34
- data/ext/ffi_c/Buffer.c +4 -9
- data/ext/ffi_c/Call.c +16 -49
- data/ext/ffi_c/Call.h +4 -7
- data/ext/ffi_c/ClosurePool.c +75 -25
- data/ext/ffi_c/ClosurePool.h +3 -1
- data/ext/ffi_c/DynamicLibrary.c +2 -7
- data/ext/ffi_c/Function.c +47 -131
- data/ext/ffi_c/Function.h +0 -4
- data/ext/ffi_c/FunctionInfo.c +3 -8
- data/ext/ffi_c/LastError.c +49 -8
- data/ext/ffi_c/LongDouble.c +12 -10
- data/ext/ffi_c/LongDouble.h +0 -4
- data/ext/ffi_c/MemoryPointer.c +3 -8
- data/ext/ffi_c/MemoryPointer.h +0 -4
- data/ext/ffi_c/MethodHandle.c +21 -31
- data/ext/ffi_c/MethodHandle.h +3 -2
- data/ext/ffi_c/Platform.c +3 -54
- data/ext/ffi_c/Pointer.c +25 -26
- data/ext/ffi_c/Pointer.h +0 -4
- data/ext/ffi_c/Struct.c +49 -56
- data/ext/ffi_c/Struct.h +12 -6
- data/ext/ffi_c/StructByValue.c +2 -7
- data/ext/ffi_c/StructLayout.c +22 -20
- data/ext/ffi_c/Thread.c +4 -228
- data/ext/ffi_c/Thread.h +1 -20
- data/ext/ffi_c/Type.c +1 -19
- data/ext/ffi_c/Type.h +0 -1
- data/ext/ffi_c/Types.c +7 -8
- data/ext/ffi_c/Types.h +3 -4
- data/ext/ffi_c/Variadic.c +23 -24
- data/ext/ffi_c/compat.h +4 -0
- data/ext/ffi_c/extconf.rb +53 -30
- data/ext/ffi_c/ffi.c +3 -8
- data/ext/ffi_c/libffi.darwin.mk +1 -1
- data/ext/ffi_c/libffi/.appveyor.yml +29 -13
- data/ext/ffi_c/libffi/.gitattributes +4 -0
- data/ext/ffi_c/libffi/.travis.yml +51 -2
- data/ext/ffi_c/libffi/.travis/bfin-sim.exp +58 -0
- data/ext/ffi_c/libffi/.travis/build-cross-in-container.sh +14 -0
- data/ext/ffi_c/libffi/.travis/build-in-container.sh +12 -0
- data/ext/ffi_c/libffi/.travis/build.sh +116 -8
- data/ext/ffi_c/libffi/.travis/install.sh +65 -16
- data/ext/ffi_c/libffi/.travis/m32r-sim.exp +58 -0
- data/ext/ffi_c/libffi/.travis/moxie-sim.exp +1 -1
- data/ext/ffi_c/libffi/.travis/or1k-sim.exp +58 -0
- data/ext/ffi_c/libffi/.travis/powerpc-eabisim.exp +58 -0
- data/ext/ffi_c/libffi/.travis/site.exp +10 -1
- data/ext/ffi_c/libffi/.travis/wine-sim.exp +55 -0
- data/ext/ffi_c/libffi/{ChangeLog.libffi-3.1 → ChangeLog.old} +1407 -0
- data/ext/ffi_c/libffi/LICENSE +1 -1
- data/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +5 -4
- data/ext/ffi_c/libffi/Makefile.am +56 -72
- data/ext/ffi_c/libffi/README.md +33 -8
- data/ext/ffi_c/libffi/config.guess +552 -331
- data/ext/ffi_c/libffi/config.sub +1321 -1306
- data/ext/ffi_c/libffi/configure.ac +37 -12
- data/ext/ffi_c/libffi/configure.host +56 -27
- data/ext/ffi_c/libffi/doc/Makefile.am +3 -0
- data/ext/ffi_c/libffi/doc/libffi.texi +997 -0
- data/ext/ffi_c/libffi/doc/version.texi +4 -0
- data/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +2 -4
- data/ext/ffi_c/libffi/include/ffi.h.in +19 -7
- data/ext/ffi_c/libffi/include/ffi_common.h +5 -1
- data/ext/ffi_c/libffi/libffi.map.in +8 -12
- data/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +2 -48
- data/ext/ffi_c/libffi/libtool-version +1 -1
- data/ext/ffi_c/libffi/m4/asmcfi.m4 +1 -1
- data/ext/ffi_c/libffi/m4/ax_append_flag.m4 +5 -26
- data/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +5 -26
- data/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +2 -1
- data/ext/ffi_c/libffi/m4/ax_configure_args.m4 +5 -26
- data/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +7 -3
- data/ext/ffi_c/libffi/make_sunver.pl +333 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +33 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +130 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +57 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +4 -0
- data/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
- data/ext/ffi_c/libffi/msvcc.sh +38 -13
- data/ext/ffi_c/libffi/src/aarch64/ffi.c +153 -69
- data/ext/ffi_c/libffi/src/aarch64/ffitarget.h +19 -3
- data/ext/ffi_c/libffi/src/aarch64/internal.h +1 -0
- data/ext/ffi_c/libffi/src/aarch64/sysv.S +22 -9
- data/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +506 -0
- data/ext/ffi_c/libffi/src/arm/ffi.c +62 -5
- data/ext/ffi_c/libffi/src/arm/ffitarget.h +8 -1
- data/ext/ffi_c/libffi/src/arm/sysv.S +6 -4
- data/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +311 -0
- data/ext/ffi_c/libffi/src/closures.c +69 -14
- data/ext/ffi_c/libffi/src/csky/ffi.c +395 -0
- data/ext/ffi_c/libffi/src/csky/ffitarget.h +63 -0
- data/ext/ffi_c/libffi/src/csky/sysv.S +371 -0
- data/ext/ffi_c/libffi/src/dlmalloc.c +1 -1
- data/ext/ffi_c/libffi/src/frv/ffi.c +1 -1
- data/ext/ffi_c/libffi/src/kvx/asm.h +5 -0
- data/ext/ffi_c/libffi/src/kvx/ffi.c +273 -0
- data/ext/ffi_c/libffi/src/kvx/ffitarget.h +75 -0
- data/ext/ffi_c/libffi/src/kvx/sysv.S +127 -0
- data/ext/ffi_c/libffi/src/metag/ffi.c +1 -1
- data/ext/ffi_c/libffi/src/mips/ffi.c +5 -1
- data/ext/ffi_c/libffi/src/mips/ffitarget.h +1 -1
- data/ext/ffi_c/libffi/src/mips/o32.S +2 -0
- data/ext/ffi_c/libffi/src/moxie/ffi.c +1 -1
- data/ext/ffi_c/libffi/src/pa/ffi.c +46 -91
- data/ext/ffi_c/libffi/src/pa/ffitarget.h +1 -6
- data/ext/ffi_c/libffi/src/pa/hpux32.S +4 -2
- data/ext/ffi_c/libffi/src/pa/linux.S +27 -4
- data/ext/ffi_c/libffi/src/powerpc/ffi.c +6 -4
- data/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +13 -1
- data/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +211 -32
- data/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +18 -7
- data/ext/ffi_c/libffi/src/powerpc/ffitarget.h +10 -4
- data/ext/ffi_c/libffi/src/powerpc/linux64.S +91 -28
- data/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +81 -5
- data/ext/ffi_c/libffi/src/powerpc/sysv.S +5 -7
- data/ext/ffi_c/libffi/src/prep_cif.c +4 -2
- data/ext/ffi_c/libffi/src/riscv/ffi.c +42 -6
- data/ext/ffi_c/libffi/src/riscv/ffitarget.h +1 -0
- data/ext/ffi_c/libffi/src/riscv/sysv.S +86 -7
- data/ext/ffi_c/libffi/src/x86/ffi.c +29 -12
- data/ext/ffi_c/libffi/src/x86/ffi64.c +22 -11
- data/ext/ffi_c/libffi/src/x86/ffitarget.h +15 -2
- data/ext/ffi_c/libffi/src/x86/ffiw64.c +20 -10
- data/ext/ffi_c/libffi/src/x86/sysv.S +105 -10
- data/ext/ffi_c/libffi/src/x86/sysv_intel.S +995 -0
- data/ext/ffi_c/libffi/src/x86/unix64.S +100 -4
- data/ext/ffi_c/libffi/src/x86/win64.S +12 -3
- data/ext/ffi_c/libffi/src/x86/win64_intel.S +3 -2
- data/ext/ffi_c/libffi/testsuite/Makefile.am +114 -109
- data/ext/ffi_c/libffi/testsuite/lib/libffi.exp +32 -8
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +7 -2
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +4 -4
- data/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2 -2
- data/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +12 -1
- data/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +9 -8
- data/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +1 -1
- data/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +67 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn0.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn3.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn4.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn5.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_fn6.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_loc_fn0.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/closure_simple.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_12byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_16byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_18byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_19byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_1_1byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_20byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_20byte1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_24byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_2byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3_1byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3byte1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3byte2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_3float.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_4_1byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_4byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_5_1_byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_5byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_64byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_6_1_byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_6byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_7_1_byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_7byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_8byte.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_9byte1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_9byte2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_double.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_float.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_longdouble.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_longdouble_split.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_longdouble_split2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_pointer.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_sint16.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_sint32.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_sint64.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_uint16.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_uint32.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_align_uint64.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_dbls_struct.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_double.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_double_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_float.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_longdouble.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_longdouble_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_many_mixed_args.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_many_mixed_float_double.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_schar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_sshort.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_sshortchar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_uchar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_ushort.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_multi_ushortchar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_pointer.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_pointer_stack.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_schar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_sint.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_sshort.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_struct_va1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uchar.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uchar_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uint.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_uint_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ulong_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ulonglong.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ushort.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/cls_ushort_va.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/err_bad_abi.c +0 -0
- data/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +138 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/huge_struct.c +3 -1
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct10.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct11.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct3.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct4.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct5.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct6.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct7.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct8.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/nested_struct9.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/problem1.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_large.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_large2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_medium.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/stret_medium2.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/testclosure.c +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/unwindtest.cc +0 -0
- data/ext/ffi_c/libffi/testsuite/{libffi.call → libffi.closures}/unwindtest_ffi_call.cc +0 -0
- data/ext/ffi_c/rbffi.h +0 -2
- data/ffi.gemspec +13 -6
- data/lib/ffi.rb +10 -2
- data/lib/ffi/abstract_memory.rb +44 -0
- data/lib/ffi/autopointer.rb +1 -1
- data/lib/ffi/data_converter.rb +67 -0
- data/lib/ffi/ffi.rb +3 -0
- data/lib/ffi/io.rb +3 -3
- data/lib/ffi/library.rb +12 -8
- data/lib/ffi/managedstruct.rb +2 -2
- data/lib/ffi/platform.rb +34 -10
- data/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
- data/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/lib/ffi/platform/aarch64-freebsd12/types.conf +128 -0
- data/lib/ffi/platform/aarch64-linux/types.conf +81 -81
- data/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
- data/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/lib/ffi/platform/arm-linux/types.conf +110 -82
- data/lib/ffi/platform/i386-cygwin/types.conf +1 -1
- data/lib/ffi/platform/i386-darwin/types.conf +63 -63
- data/lib/ffi/platform/i386-freebsd/types.conf +89 -89
- data/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/lib/ffi/platform/i386-gnu/types.conf +84 -84
- data/lib/ffi/platform/i386-linux/types.conf +77 -77
- data/lib/ffi/platform/i386-netbsd/types.conf +87 -87
- data/lib/ffi/platform/i386-openbsd/types.conf +89 -89
- data/lib/ffi/platform/i386-solaris/types.conf +96 -96
- data/lib/ffi/platform/i386-windows/types.conf +43 -96
- data/lib/ffi/platform/ia64-linux/types.conf +79 -79
- data/lib/ffi/platform/mips-linux/types.conf +79 -79
- data/lib/ffi/platform/mips64-linux/types.conf +81 -81
- data/lib/ffi/platform/mips64el-linux/types.conf +81 -81
- data/lib/ffi/platform/mipsel-linux/types.conf +79 -79
- data/lib/ffi/platform/mipsisa32r6-linux/types.conf +79 -79
- data/lib/ffi/platform/mipsisa32r6el-linux/types.conf +79 -79
- data/lib/ffi/platform/mipsisa64r6-linux/types.conf +81 -81
- data/lib/ffi/platform/mipsisa64r6el-linux/types.conf +81 -81
- data/lib/ffi/platform/powerpc-aix/types.conf +155 -155
- data/lib/ffi/platform/powerpc-darwin/types.conf +63 -63
- data/lib/ffi/platform/powerpc-linux/types.conf +108 -78
- data/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/lib/ffi/platform/powerpc64-linux/types.conf +81 -81
- data/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
- data/lib/ffi/platform/riscv64-linux/types.conf +104 -0
- data/lib/ffi/platform/s390-linux/types.conf +79 -79
- data/lib/ffi/platform/s390x-linux/types.conf +79 -79
- data/lib/ffi/platform/sparc-linux/types.conf +79 -79
- data/lib/ffi/platform/sparc-solaris/types.conf +103 -103
- data/lib/ffi/platform/sparc64-linux/types.conf +79 -79
- data/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/lib/ffi/platform/sparcv9-solaris/types.conf +103 -103
- data/lib/ffi/platform/x86_64-cygwin/types.conf +1 -1
- data/lib/ffi/platform/x86_64-darwin/types.conf +88 -84
- data/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
- data/lib/ffi/platform/x86_64-freebsd/types.conf +90 -90
- data/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
- data/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
- data/lib/ffi/platform/x86_64-linux/types.conf +107 -77
- data/lib/ffi/platform/x86_64-msys/types.conf +119 -0
- data/lib/ffi/platform/x86_64-netbsd/types.conf +89 -89
- data/lib/ffi/platform/x86_64-openbsd/types.conf +86 -86
- data/lib/ffi/platform/x86_64-solaris/types.conf +96 -96
- data/lib/ffi/platform/x86_64-windows/types.conf +42 -110
- data/lib/ffi/pointer.rb +26 -20
- data/lib/ffi/struct.rb +13 -68
- data/lib/ffi/struct_by_reference.rb +72 -0
- data/lib/ffi/struct_layout.rb +96 -0
- data/lib/ffi/tools/const_generator.rb +5 -4
- data/lib/ffi/tools/generator.rb +47 -2
- data/lib/ffi/tools/generator_task.rb +13 -17
- data/lib/ffi/tools/struct_generator.rb +4 -4
- data/lib/ffi/tools/types_generator.rb +7 -4
- data/lib/ffi/types.rb +1 -1
- data/lib/ffi/variadic.rb +1 -10
- data/lib/ffi/version.rb +1 -1
- data/rakelib/ffi_gem_helper.rb +65 -0
- data/samples/getlogin.rb +1 -1
- data/samples/getpid.rb +1 -1
- data/samples/gettimeofday.rb +8 -8
- data/samples/hello.rb +2 -1
- data/samples/inotify.rb +1 -1
- data/samples/pty.rb +1 -2
- data/samples/qsort.rb +0 -1
- metadata +160 -122
- data/.gitignore +0 -22
- data/.gitmodules +0 -3
- data/.travis.yml +0 -52
- data/.yardopts +0 -5
- data/appveyor.yml +0 -22
- data/ext/ffi_c/DataConverter.c +0 -91
- data/ext/ffi_c/StructByReference.c +0 -190
- data/ext/ffi_c/StructByReference.h +0 -50
- data/ext/ffi_c/libffi/ChangeLog.libffi +0 -584
- data/ext/ffi_c/libffi/ChangeLog.libgcj +0 -40
- data/ext/ffi_c/libffi/ChangeLog.v1 +0 -764
- data/ext/ffi_c/win32/stdbool.h +0 -8
- data/ext/ffi_c/win32/stdint.h +0 -201
- data/samples/sample_helper.rb +0 -6
@@ -47,9 +47,12 @@ module FFI
|
|
47
47
|
typedefs = nil
|
48
48
|
Tempfile.open 'ffi_types_generator' do |io|
|
49
49
|
io.puts <<-C
|
50
|
+
#include <stdint.h>
|
51
|
+
#include <stddef.h>
|
50
52
|
#include <sys/types.h>
|
51
53
|
#if !(defined(WIN32))
|
52
54
|
#include <sys/socket.h>
|
55
|
+
#include <netinet/in.h>
|
53
56
|
#include <sys/resource.h>
|
54
57
|
#endif
|
55
58
|
C
|
@@ -66,7 +69,7 @@ module FFI
|
|
66
69
|
end
|
67
70
|
end
|
68
71
|
|
69
|
-
code =
|
72
|
+
code = []
|
70
73
|
|
71
74
|
typedefs.each_line do |type|
|
72
75
|
# We only care about single line typedef
|
@@ -116,18 +119,18 @@ module FFI
|
|
116
119
|
end
|
117
120
|
|
118
121
|
if type = TYPE_MAP[def_type]
|
119
|
-
code << "rbx.platform.typedef.#{final_type} = #{type}
|
122
|
+
code << "rbx.platform.typedef.#{final_type} = #{type}"
|
120
123
|
TYPE_MAP[final_type] = TYPE_MAP[def_type]
|
121
124
|
else
|
122
125
|
# Fallback to an ordinary pointer if we don't know the type
|
123
126
|
if def_type =~ /\*/
|
124
|
-
code << "rbx.platform.typedef.#{final_type} = pointer
|
127
|
+
code << "rbx.platform.typedef.#{final_type} = pointer"
|
125
128
|
TYPE_MAP[final_type] = :pointer
|
126
129
|
end
|
127
130
|
end
|
128
131
|
end
|
129
132
|
|
130
|
-
code
|
133
|
+
code.sort.join("\n")
|
131
134
|
end
|
132
135
|
end
|
133
136
|
end
|
data/lib/ffi/types.rb
CHANGED
@@ -152,7 +152,7 @@ module FFI
|
|
152
152
|
# also allow to work with the pointer itself. This is useful when you want
|
153
153
|
# a Ruby string already containing a copy of the data, but also the pointer
|
154
154
|
# to the data for you to do something with it, like freeing it, in case the
|
155
|
-
# library handed the memory
|
155
|
+
# library handed the memory off to the caller (Ruby-FFI).
|
156
156
|
#
|
157
157
|
# It's {typedef}'d as +:strptr+.
|
158
158
|
class StrPtrConverter
|
data/lib/ffi/variadic.rb
CHANGED
@@ -31,16 +31,7 @@
|
|
31
31
|
#
|
32
32
|
|
33
33
|
module FFI
|
34
|
-
class VariadicInvoker
|
35
|
-
def init(arg_types, type_map)
|
36
|
-
@fixed = Array.new
|
37
|
-
@type_map = type_map
|
38
|
-
arg_types.each_with_index do |type, i|
|
39
|
-
@fixed << type unless type == Type::VARARGS
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
|
34
|
+
class VariadicInvoker
|
44
35
|
def call(*args, &block)
|
45
36
|
param_types = Array.new(@fixed)
|
46
37
|
param_values = Array.new
|
data/lib/ffi/version.rb
CHANGED
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
require 'bundler/gem_helper'
|
3
|
+
|
4
|
+
class FfiGemHelper < Bundler::GemHelper
|
5
|
+
attr_accessor :cross_platforms
|
6
|
+
|
7
|
+
def install
|
8
|
+
super
|
9
|
+
|
10
|
+
task "release:guard_clean" => ["release:update_history"]
|
11
|
+
|
12
|
+
task "release:update_history" do
|
13
|
+
update_history
|
14
|
+
end
|
15
|
+
|
16
|
+
task "release:rubygem_push" => ["gem:windows", "gem:java"]
|
17
|
+
end
|
18
|
+
|
19
|
+
def hfile
|
20
|
+
"CHANGELOG.md"
|
21
|
+
end
|
22
|
+
|
23
|
+
def headline
|
24
|
+
'([^\w]*)(\d+\.\d+\.\d+(?:\.\w+)?)([^\w]+)([2Y][0Y][0-9Y][0-9Y]-[0-1M][0-9M]-[0-3D][0-9D])([^\w]*|$)'
|
25
|
+
end
|
26
|
+
|
27
|
+
def reldate
|
28
|
+
Time.now.strftime("%Y-%m-%d")
|
29
|
+
end
|
30
|
+
|
31
|
+
def update_history
|
32
|
+
hin = File.read(hfile)
|
33
|
+
hout = hin.sub(/#{headline}/) do
|
34
|
+
raise "#{hfile} isn't up-to-date for version #{version}" unless $2==version.to_s
|
35
|
+
$1 + $2 + $3 + reldate + $5
|
36
|
+
end
|
37
|
+
if hout != hin
|
38
|
+
Bundler.ui.confirm "Updating #{hfile} for release."
|
39
|
+
File.write(hfile, hout)
|
40
|
+
Rake::FileUtilsExt.sh "git", "commit", hfile, "-m", "Update release date in #{hfile}"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def tag_version
|
45
|
+
Bundler.ui.confirm "Tag release with annotation:"
|
46
|
+
m = File.read(hfile).match(/(?<annotation>#{headline}.*?)#{headline}/m) || raise("Unable to find release notes in #{hfile}")
|
47
|
+
Bundler.ui.info(m[:annotation].gsub(/^/, " "))
|
48
|
+
IO.popen(["git", "tag", "--file=-", version_tag], "w") do |fd|
|
49
|
+
fd.write m[:annotation]
|
50
|
+
end
|
51
|
+
yield if block_given?
|
52
|
+
rescue
|
53
|
+
Bundler.ui.error "Untagging #{version_tag} due to error."
|
54
|
+
sh_with_code "git tag -d #{version_tag}"
|
55
|
+
raise
|
56
|
+
end
|
57
|
+
|
58
|
+
def rubygem_push(path)
|
59
|
+
cross_platforms.each do |ruby_platform|
|
60
|
+
super(path.gsub(/\.gem\z/, "-#{ruby_platform}.gem"))
|
61
|
+
end
|
62
|
+
super(path.gsub(/\.gem\z/, "-java.gem"))
|
63
|
+
super(path)
|
64
|
+
end
|
65
|
+
end
|
data/samples/getlogin.rb
CHANGED
data/samples/getpid.rb
CHANGED
data/samples/gettimeofday.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
require 'rubygems'
|
2
1
|
require 'ffi'
|
2
|
+
require 'rbconfig'
|
3
|
+
|
3
4
|
class Timeval < FFI::Struct
|
4
|
-
|
5
|
-
if rb_maj.to_i >= 1 && rb_min.to_i >= 9 || RUBY_PLATFORM =~ /java/
|
6
|
-
layout :tv_sec => :ulong, :tv_usec => :ulong
|
7
|
-
else
|
8
|
-
layout :tv_sec, :ulong, 0, :tv_usec, :ulong, 4
|
9
|
-
end
|
5
|
+
layout tv_sec: :ulong, tv_usec: :ulong
|
10
6
|
end
|
11
7
|
module LibC
|
12
8
|
extend FFI::Library
|
13
|
-
|
9
|
+
if FFI::Platform.windows?
|
10
|
+
ffi_lib RbConfig::CONFIG["LIBRUBY_SO"]
|
11
|
+
else
|
12
|
+
ffi_lib FFI::Library::LIBC
|
13
|
+
end
|
14
14
|
attach_function :gettimeofday, [ :pointer, :pointer ], :int
|
15
15
|
end
|
16
16
|
t = Timeval.new
|
data/samples/hello.rb
CHANGED
data/samples/inotify.rb
CHANGED
data/samples/pty.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'ffi'
|
2
2
|
|
3
|
-
|
4
3
|
module PTY
|
5
4
|
private
|
6
5
|
module LibC
|
@@ -41,7 +40,7 @@ module PTY
|
|
41
40
|
#
|
42
41
|
exec_cmd, exec_args = build_args(args)
|
43
42
|
pid = LibC.forkpty(mfdp, name, nil, nil)
|
44
|
-
raise "forkpty failed: #{LibC.strerror(FFI.errno)}" if pid < 0
|
43
|
+
raise "forkpty failed: #{LibC.strerror(FFI.errno)}" if pid < 0
|
45
44
|
if pid == 0
|
46
45
|
LibC.execvp(exec_cmd, exec_args)
|
47
46
|
exit 1
|
data/samples/qsort.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wayne Meissner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '13.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '13.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake-compiler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0
|
47
|
+
version: '1.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,10 +87,6 @@ extensions:
|
|
87
87
|
- ext/ffi_c/extconf.rb
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
-
- ".gitignore"
|
91
|
-
- ".gitmodules"
|
92
|
-
- ".travis.yml"
|
93
|
-
- ".yardopts"
|
94
90
|
- CHANGELOG.md
|
95
91
|
- COPYING
|
96
92
|
- Gemfile
|
@@ -98,7 +94,6 @@ files:
|
|
98
94
|
- LICENSE.SPECS
|
99
95
|
- README.md
|
100
96
|
- Rakefile
|
101
|
-
- appveyor.yml
|
102
97
|
- ext/ffi_c/AbstractMemory.c
|
103
98
|
- ext/ffi_c/AbstractMemory.h
|
104
99
|
- ext/ffi_c/ArrayType.c
|
@@ -108,7 +103,6 @@ files:
|
|
108
103
|
- ext/ffi_c/Call.h
|
109
104
|
- ext/ffi_c/ClosurePool.c
|
110
105
|
- ext/ffi_c/ClosurePool.h
|
111
|
-
- ext/ffi_c/DataConverter.c
|
112
106
|
- ext/ffi_c/DynamicLibrary.c
|
113
107
|
- ext/ffi_c/DynamicLibrary.h
|
114
108
|
- ext/ffi_c/Function.c
|
@@ -130,8 +124,6 @@ files:
|
|
130
124
|
- ext/ffi_c/Pointer.h
|
131
125
|
- ext/ffi_c/Struct.c
|
132
126
|
- ext/ffi_c/Struct.h
|
133
|
-
- ext/ffi_c/StructByReference.c
|
134
|
-
- ext/ffi_c/StructByReference.h
|
135
127
|
- ext/ffi_c/StructByValue.c
|
136
128
|
- ext/ffi_c/StructByValue.h
|
137
129
|
- ext/ffi_c/StructLayout.c
|
@@ -152,19 +144,24 @@ files:
|
|
152
144
|
- ext/ffi_c/libffi.vc.mk
|
153
145
|
- ext/ffi_c/libffi.vc64.mk
|
154
146
|
- ext/ffi_c/libffi/.appveyor.yml
|
147
|
+
- ext/ffi_c/libffi/.gitattributes
|
155
148
|
- ext/ffi_c/libffi/.github/issue_template.md
|
156
149
|
- ext/ffi_c/libffi/.gitignore
|
157
150
|
- ext/ffi_c/libffi/.travis.yml
|
158
151
|
- ext/ffi_c/libffi/.travis/ar-lib
|
152
|
+
- ext/ffi_c/libffi/.travis/bfin-sim.exp
|
153
|
+
- ext/ffi_c/libffi/.travis/build-cross-in-container.sh
|
154
|
+
- ext/ffi_c/libffi/.travis/build-in-container.sh
|
159
155
|
- ext/ffi_c/libffi/.travis/build.sh
|
160
156
|
- ext/ffi_c/libffi/.travis/compile
|
161
157
|
- ext/ffi_c/libffi/.travis/install.sh
|
158
|
+
- ext/ffi_c/libffi/.travis/m32r-sim.exp
|
162
159
|
- ext/ffi_c/libffi/.travis/moxie-sim.exp
|
160
|
+
- ext/ffi_c/libffi/.travis/or1k-sim.exp
|
161
|
+
- ext/ffi_c/libffi/.travis/powerpc-eabisim.exp
|
163
162
|
- ext/ffi_c/libffi/.travis/site.exp
|
164
|
-
- ext/ffi_c/libffi/
|
165
|
-
- ext/ffi_c/libffi/ChangeLog.
|
166
|
-
- ext/ffi_c/libffi/ChangeLog.libgcj
|
167
|
-
- ext/ffi_c/libffi/ChangeLog.v1
|
163
|
+
- ext/ffi_c/libffi/.travis/wine-sim.exp
|
164
|
+
- ext/ffi_c/libffi/ChangeLog.old
|
168
165
|
- ext/ffi_c/libffi/LICENSE
|
169
166
|
- ext/ffi_c/libffi/LICENSE-BUILDTOOLS
|
170
167
|
- ext/ffi_c/libffi/Makefile.am
|
@@ -206,6 +203,7 @@ files:
|
|
206
203
|
- ext/ffi_c/libffi/m4/ax_gcc_archflag.m4
|
207
204
|
- ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4
|
208
205
|
- ext/ffi_c/libffi/m4/ax_require_defined.m4
|
206
|
+
- ext/ffi_c/libffi/make_sunver.pl
|
209
207
|
- ext/ffi_c/libffi/man/Makefile.am
|
210
208
|
- ext/ffi_c/libffi/man/Makefile.in
|
211
209
|
- ext/ffi_c/libffi/man/ffi.3
|
@@ -213,11 +211,18 @@ files:
|
|
213
211
|
- ext/ffi_c/libffi/man/ffi_prep_cif.3
|
214
212
|
- ext/ffi_c/libffi/man/ffi_prep_cif_var.3
|
215
213
|
- ext/ffi_c/libffi/missing
|
214
|
+
- ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln
|
215
|
+
- ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj
|
216
|
+
- ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters
|
217
|
+
- ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user
|
218
|
+
- ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h
|
219
|
+
- ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h
|
216
220
|
- ext/ffi_c/libffi/msvcc.sh
|
217
221
|
- ext/ffi_c/libffi/src/aarch64/ffi.c
|
218
222
|
- ext/ffi_c/libffi/src/aarch64/ffitarget.h
|
219
223
|
- ext/ffi_c/libffi/src/aarch64/internal.h
|
220
224
|
- ext/ffi_c/libffi/src/aarch64/sysv.S
|
225
|
+
- ext/ffi_c/libffi/src/aarch64/win64_armasm.S
|
221
226
|
- ext/ffi_c/libffi/src/alpha/ffi.c
|
222
227
|
- ext/ffi_c/libffi/src/alpha/ffitarget.h
|
223
228
|
- ext/ffi_c/libffi/src/alpha/internal.h
|
@@ -229,6 +234,7 @@ files:
|
|
229
234
|
- ext/ffi_c/libffi/src/arm/ffitarget.h
|
230
235
|
- ext/ffi_c/libffi/src/arm/internal.h
|
231
236
|
- ext/ffi_c/libffi/src/arm/sysv.S
|
237
|
+
- ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S
|
232
238
|
- ext/ffi_c/libffi/src/avr32/ffi.c
|
233
239
|
- ext/ffi_c/libffi/src/avr32/ffitarget.h
|
234
240
|
- ext/ffi_c/libffi/src/avr32/sysv.S
|
@@ -239,6 +245,9 @@ files:
|
|
239
245
|
- ext/ffi_c/libffi/src/cris/ffi.c
|
240
246
|
- ext/ffi_c/libffi/src/cris/ffitarget.h
|
241
247
|
- ext/ffi_c/libffi/src/cris/sysv.S
|
248
|
+
- ext/ffi_c/libffi/src/csky/ffi.c
|
249
|
+
- ext/ffi_c/libffi/src/csky/ffitarget.h
|
250
|
+
- ext/ffi_c/libffi/src/csky/sysv.S
|
242
251
|
- ext/ffi_c/libffi/src/debug.c
|
243
252
|
- ext/ffi_c/libffi/src/dlmalloc.c
|
244
253
|
- ext/ffi_c/libffi/src/frv/eabi.S
|
@@ -249,6 +258,10 @@ files:
|
|
249
258
|
- ext/ffi_c/libffi/src/ia64/ia64_flags.h
|
250
259
|
- ext/ffi_c/libffi/src/ia64/unix.S
|
251
260
|
- ext/ffi_c/libffi/src/java_raw_api.c
|
261
|
+
- ext/ffi_c/libffi/src/kvx/asm.h
|
262
|
+
- ext/ffi_c/libffi/src/kvx/ffi.c
|
263
|
+
- ext/ffi_c/libffi/src/kvx/ffitarget.h
|
264
|
+
- ext/ffi_c/libffi/src/kvx/sysv.S
|
252
265
|
- ext/ffi_c/libffi/src/m32r/ffi.c
|
253
266
|
- ext/ffi_c/libffi/src/m32r/ffitarget.h
|
254
267
|
- ext/ffi_c/libffi/src/m32r/sysv.S
|
@@ -332,6 +345,7 @@ files:
|
|
332
345
|
- ext/ffi_c/libffi/src/x86/internal.h
|
333
346
|
- ext/ffi_c/libffi/src/x86/internal64.h
|
334
347
|
- ext/ffi_c/libffi/src/x86/sysv.S
|
348
|
+
- ext/ffi_c/libffi/src/x86/sysv_intel.S
|
335
349
|
- ext/ffi_c/libffi/src/x86/unix64.S
|
336
350
|
- ext/ffi_c/libffi/src/x86/win64.S
|
337
351
|
- ext/ffi_c/libffi/src/x86/win64_intel.S
|
@@ -355,81 +369,6 @@ files:
|
|
355
369
|
- ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c
|
356
370
|
- ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c
|
357
371
|
- ext/ffi_c/libffi/testsuite/libffi.call/call.exp
|
358
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c
|
359
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c
|
360
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c
|
361
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c
|
362
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c
|
363
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c
|
364
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c
|
365
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c
|
366
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/closure_simple.c
|
367
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c
|
368
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c
|
369
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c
|
370
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c
|
371
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c
|
372
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c
|
373
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c
|
374
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c
|
375
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c
|
376
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c
|
377
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c
|
378
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c
|
379
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_3float.c
|
380
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c
|
381
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c
|
382
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c
|
383
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c
|
384
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c
|
385
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c
|
386
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c
|
387
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c
|
388
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c
|
389
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c
|
390
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c
|
391
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c
|
392
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c
|
393
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c
|
394
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c
|
395
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c
|
396
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c
|
397
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c
|
398
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c
|
399
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c
|
400
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c
|
401
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c
|
402
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c
|
403
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c
|
404
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c
|
405
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c
|
406
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c
|
407
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c
|
408
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c
|
409
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c
|
410
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_args.c
|
411
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_float_double.c
|
412
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c
|
413
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c
|
414
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c
|
415
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c
|
416
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c
|
417
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c
|
418
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c
|
419
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c
|
420
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c
|
421
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c
|
422
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c
|
423
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_struct_va1.c
|
424
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c
|
425
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar_va.c
|
426
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c
|
427
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_uint_va.c
|
428
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_ulong_va.c
|
429
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c
|
430
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c
|
431
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort_va.c
|
432
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c
|
433
372
|
- ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
|
434
373
|
- ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h
|
435
374
|
- ext/ffi_c/libffi/testsuite/libffi.call/float.c
|
@@ -438,27 +377,13 @@ files:
|
|
438
377
|
- ext/ffi_c/libffi/testsuite/libffi.call/float3.c
|
439
378
|
- ext/ffi_c/libffi/testsuite/libffi.call/float4.c
|
440
379
|
- ext/ffi_c/libffi/testsuite/libffi.call/float_va.c
|
441
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c
|
442
380
|
- ext/ffi_c/libffi/testsuite/libffi.call/many.c
|
443
381
|
- ext/ffi_c/libffi/testsuite/libffi.call/many2.c
|
444
382
|
- ext/ffi_c/libffi/testsuite/libffi.call/many_double.c
|
445
383
|
- ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c
|
446
384
|
- ext/ffi_c/libffi/testsuite/libffi.call/negint.c
|
447
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c
|
448
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c
|
449
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c
|
450
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct11.c
|
451
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c
|
452
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c
|
453
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c
|
454
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c
|
455
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c
|
456
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c
|
457
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c
|
458
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c
|
459
385
|
- ext/ffi_c/libffi/testsuite/libffi.call/offsets.c
|
460
386
|
- ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c
|
461
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/problem1.c
|
462
387
|
- ext/ffi_c/libffi/testsuite/libffi.call/promotion.c
|
463
388
|
- ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c
|
464
389
|
- ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c
|
@@ -475,10 +400,6 @@ files:
|
|
475
400
|
- ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c
|
476
401
|
- ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c
|
477
402
|
- ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c
|
478
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c
|
479
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c
|
480
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c
|
481
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c
|
482
403
|
- ext/ffi_c/libffi/testsuite/libffi.call/strlen.c
|
483
404
|
- ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c
|
484
405
|
- ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c
|
@@ -493,14 +414,109 @@ files:
|
|
493
414
|
- ext/ffi_c/libffi/testsuite/libffi.call/struct7.c
|
494
415
|
- ext/ffi_c/libffi/testsuite/libffi.call/struct8.c
|
495
416
|
- ext/ffi_c/libffi/testsuite/libffi.call/struct9.c
|
496
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c
|
497
417
|
- ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c
|
498
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/unwindtest.cc
|
499
|
-
- ext/ffi_c/libffi/testsuite/libffi.call/unwindtest_ffi_call.cc
|
500
418
|
- ext/ffi_c/libffi/testsuite/libffi.call/va_1.c
|
501
419
|
- ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c
|
502
420
|
- ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c
|
503
421
|
- ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c
|
422
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp
|
423
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c
|
424
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c
|
425
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c
|
426
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c
|
427
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c
|
428
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c
|
429
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c
|
430
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c
|
431
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c
|
432
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c
|
433
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c
|
434
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c
|
435
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c
|
436
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c
|
437
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c
|
438
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c
|
439
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c
|
440
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c
|
441
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c
|
442
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c
|
443
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c
|
444
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c
|
445
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c
|
446
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c
|
447
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c
|
448
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c
|
449
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c
|
450
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c
|
451
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c
|
452
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c
|
453
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c
|
454
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c
|
455
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c
|
456
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c
|
457
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c
|
458
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c
|
459
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c
|
460
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c
|
461
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c
|
462
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c
|
463
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c
|
464
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c
|
465
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c
|
466
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c
|
467
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c
|
468
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c
|
469
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c
|
470
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c
|
471
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c
|
472
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c
|
473
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c
|
474
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c
|
475
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c
|
476
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c
|
477
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c
|
478
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c
|
479
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c
|
480
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c
|
481
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c
|
482
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c
|
483
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c
|
484
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c
|
485
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c
|
486
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c
|
487
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c
|
488
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c
|
489
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c
|
490
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar_va.c
|
491
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c
|
492
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c
|
493
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c
|
494
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c
|
495
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c
|
496
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort_va.c
|
497
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c
|
498
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h
|
499
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c
|
500
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c
|
501
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c
|
502
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c
|
503
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c
|
504
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c
|
505
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c
|
506
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c
|
507
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c
|
508
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c
|
509
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c
|
510
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c
|
511
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c
|
512
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c
|
513
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c
|
514
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c
|
515
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c
|
516
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c
|
517
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c
|
518
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc
|
519
|
+
- ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc
|
504
520
|
- ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc
|
505
521
|
- ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c
|
506
522
|
- ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c
|
@@ -550,13 +566,13 @@ files:
|
|
550
566
|
- ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h
|
551
567
|
- ext/ffi_c/rbffi.h
|
552
568
|
- ext/ffi_c/rbffi_endian.h
|
553
|
-
- ext/ffi_c/win32/stdbool.h
|
554
|
-
- ext/ffi_c/win32/stdint.h
|
555
569
|
- ffi.gemspec
|
556
570
|
- lib/ffi.rb
|
571
|
+
- lib/ffi/abstract_memory.rb
|
557
572
|
- lib/ffi/autopointer.rb
|
558
573
|
- lib/ffi/buffer.rb
|
559
574
|
- lib/ffi/callback.rb
|
575
|
+
- lib/ffi/data_converter.rb
|
560
576
|
- lib/ffi/enum.rb
|
561
577
|
- lib/ffi/errno.rb
|
562
578
|
- lib/ffi/ffi.rb
|
@@ -565,11 +581,18 @@ files:
|
|
565
581
|
- lib/ffi/managedstruct.rb
|
566
582
|
- lib/ffi/memorypointer.rb
|
567
583
|
- lib/ffi/platform.rb
|
584
|
+
- lib/ffi/platform/aarch64-darwin/types.conf
|
585
|
+
- lib/ffi/platform/aarch64-freebsd/types.conf
|
586
|
+
- lib/ffi/platform/aarch64-freebsd12/types.conf
|
568
587
|
- lib/ffi/platform/aarch64-linux/types.conf
|
588
|
+
- lib/ffi/platform/aarch64-openbsd/types.conf
|
589
|
+
- lib/ffi/platform/arm-freebsd/types.conf
|
590
|
+
- lib/ffi/platform/arm-freebsd12/types.conf
|
569
591
|
- lib/ffi/platform/arm-linux/types.conf
|
570
592
|
- lib/ffi/platform/i386-cygwin/types.conf
|
571
593
|
- lib/ffi/platform/i386-darwin/types.conf
|
572
594
|
- lib/ffi/platform/i386-freebsd/types.conf
|
595
|
+
- lib/ffi/platform/i386-freebsd12/types.conf
|
573
596
|
- lib/ffi/platform/i386-gnu/types.conf
|
574
597
|
- lib/ffi/platform/i386-linux/types.conf
|
575
598
|
- lib/ffi/platform/i386-netbsd/types.conf
|
@@ -588,23 +611,33 @@ files:
|
|
588
611
|
- lib/ffi/platform/powerpc-aix/types.conf
|
589
612
|
- lib/ffi/platform/powerpc-darwin/types.conf
|
590
613
|
- lib/ffi/platform/powerpc-linux/types.conf
|
614
|
+
- lib/ffi/platform/powerpc-openbsd/types.conf
|
591
615
|
- lib/ffi/platform/powerpc64-linux/types.conf
|
616
|
+
- lib/ffi/platform/powerpc64le-linux/types.conf
|
617
|
+
- lib/ffi/platform/riscv64-linux/types.conf
|
592
618
|
- lib/ffi/platform/s390-linux/types.conf
|
593
619
|
- lib/ffi/platform/s390x-linux/types.conf
|
594
620
|
- lib/ffi/platform/sparc-linux/types.conf
|
595
621
|
- lib/ffi/platform/sparc-solaris/types.conf
|
596
622
|
- lib/ffi/platform/sparc64-linux/types.conf
|
623
|
+
- lib/ffi/platform/sparcv9-openbsd/types.conf
|
597
624
|
- lib/ffi/platform/sparcv9-solaris/types.conf
|
598
625
|
- lib/ffi/platform/x86_64-cygwin/types.conf
|
599
626
|
- lib/ffi/platform/x86_64-darwin/types.conf
|
627
|
+
- lib/ffi/platform/x86_64-dragonflybsd/types.conf
|
600
628
|
- lib/ffi/platform/x86_64-freebsd/types.conf
|
629
|
+
- lib/ffi/platform/x86_64-freebsd12/types.conf
|
630
|
+
- lib/ffi/platform/x86_64-haiku/types.conf
|
601
631
|
- lib/ffi/platform/x86_64-linux/types.conf
|
632
|
+
- lib/ffi/platform/x86_64-msys/types.conf
|
602
633
|
- lib/ffi/platform/x86_64-netbsd/types.conf
|
603
634
|
- lib/ffi/platform/x86_64-openbsd/types.conf
|
604
635
|
- lib/ffi/platform/x86_64-solaris/types.conf
|
605
636
|
- lib/ffi/platform/x86_64-windows/types.conf
|
606
637
|
- lib/ffi/pointer.rb
|
607
638
|
- lib/ffi/struct.rb
|
639
|
+
- lib/ffi/struct_by_reference.rb
|
640
|
+
- lib/ffi/struct_layout.rb
|
608
641
|
- lib/ffi/struct_layout_builder.rb
|
609
642
|
- lib/ffi/tools/const_generator.rb
|
610
643
|
- lib/ffi/tools/generator.rb
|
@@ -615,6 +648,7 @@ files:
|
|
615
648
|
- lib/ffi/union.rb
|
616
649
|
- lib/ffi/variadic.rb
|
617
650
|
- lib/ffi/version.rb
|
651
|
+
- rakelib/ffi_gem_helper.rb
|
618
652
|
- samples/getlogin.rb
|
619
653
|
- samples/getpid.rb
|
620
654
|
- samples/gettimeofday.rb
|
@@ -622,11 +656,16 @@ files:
|
|
622
656
|
- samples/inotify.rb
|
623
657
|
- samples/pty.rb
|
624
658
|
- samples/qsort.rb
|
625
|
-
|
626
|
-
homepage: http://wiki.github.com/ffi/ffi
|
659
|
+
homepage: https://github.com/ffi/ffi/wiki
|
627
660
|
licenses:
|
628
661
|
- BSD-3-Clause
|
629
|
-
metadata:
|
662
|
+
metadata:
|
663
|
+
bug_tracker_uri: https://github.com/ffi/ffi/issues
|
664
|
+
changelog_uri: https://github.com/ffi/ffi/blob/master/CHANGELOG.md
|
665
|
+
documentation_uri: https://github.com/ffi/ffi/wiki
|
666
|
+
wiki_uri: https://github.com/ffi/ffi/wiki
|
667
|
+
source_code_uri: https://github.com/ffi/ffi/
|
668
|
+
mailing_list_uri: http://groups.google.com/group/ruby-ffi
|
630
669
|
post_install_message:
|
631
670
|
rdoc_options:
|
632
671
|
- "--exclude=ext/ffi_c/.*\\.o$"
|
@@ -637,15 +676,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
637
676
|
requirements:
|
638
677
|
- - ">="
|
639
678
|
- !ruby/object:Gem::Version
|
640
|
-
version: '
|
679
|
+
version: '2.3'
|
641
680
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
642
681
|
requirements:
|
643
682
|
- - ">="
|
644
683
|
- !ruby/object:Gem::Version
|
645
684
|
version: '0'
|
646
685
|
requirements: []
|
647
|
-
|
648
|
-
rubygems_version: 2.7.3
|
686
|
+
rubygems_version: 3.2.3
|
649
687
|
signing_key:
|
650
688
|
specification_version: 4
|
651
689
|
summary: Ruby FFI
|