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
@@ -143,7 +143,7 @@ def build_target(platform, platform_headers):
|
|
143
143
|
mkdir_p(build_dir)
|
144
144
|
env = dict(CC=xcrun_cmd('clang'),
|
145
145
|
LD=xcrun_cmd('ld'),
|
146
|
-
CFLAGS='%s' % (platform.version_min))
|
146
|
+
CFLAGS='%s -fembed-bitcode' % (platform.version_min))
|
147
147
|
working_dir = os.getcwd()
|
148
148
|
try:
|
149
149
|
os.chdir(build_dir)
|
@@ -173,7 +173,6 @@ def generate_source_and_headers(generate_osx=True, generate_ios=True):
|
|
173
173
|
copy_src_platform_files(device_platform)
|
174
174
|
copy_src_platform_files(device64_platform)
|
175
175
|
if generate_osx:
|
176
|
-
copy_src_platform_files(desktop32_platform)
|
177
176
|
copy_src_platform_files(desktop64_platform)
|
178
177
|
|
179
178
|
platform_headers = collections.defaultdict(set)
|
@@ -184,11 +183,10 @@ def generate_source_and_headers(generate_osx=True, generate_ios=True):
|
|
184
183
|
build_target(device_platform, platform_headers)
|
185
184
|
build_target(device64_platform, platform_headers)
|
186
185
|
if generate_osx:
|
187
|
-
build_target(desktop32_platform, platform_headers)
|
188
186
|
build_target(desktop64_platform, platform_headers)
|
189
187
|
|
190
188
|
mkdir_p('darwin_common/include')
|
191
|
-
for header_name, tag_tuples in platform_headers.
|
189
|
+
for header_name, tag_tuples in platform_headers.items():
|
192
190
|
basename, suffix = os.path.splitext(header_name)
|
193
191
|
with open(os.path.join('darwin_common/include', header_name), 'w') as header:
|
194
192
|
for tag_tuple in tag_tuples:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* -----------------------------------------------------------------*-C-*-
|
2
|
-
libffi @VERSION@ - Copyright (c) 2011, 2014 Anthony Green
|
2
|
+
libffi @VERSION@ - Copyright (c) 2011, 2014, 2019 Anthony Green
|
3
3
|
- Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person
|
@@ -283,18 +283,20 @@ FFI_API size_t ffi_raw_size (ffi_cif *cif);
|
|
283
283
|
packing, even on 64-bit machines. I.e. on 64-bit machines longs
|
284
284
|
and doubles are followed by an empty 64-bit word. */
|
285
285
|
|
286
|
+
#if !FFI_NATIVE_RAW_API
|
286
287
|
FFI_API
|
287
288
|
void ffi_java_raw_call (ffi_cif *cif,
|
288
289
|
void (*fn)(void),
|
289
290
|
void *rvalue,
|
290
|
-
ffi_java_raw *avalue);
|
291
|
+
ffi_java_raw *avalue) __attribute__((deprecated));
|
292
|
+
#endif
|
291
293
|
|
292
294
|
FFI_API
|
293
|
-
void ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw);
|
295
|
+
void ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw) __attribute__((deprecated));
|
294
296
|
FFI_API
|
295
|
-
void ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args);
|
297
|
+
void ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) __attribute__((deprecated));
|
296
298
|
FFI_API
|
297
|
-
size_t ffi_java_raw_size (ffi_cif *cif);
|
299
|
+
size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated));
|
298
300
|
|
299
301
|
/* ---- Definitions for closures ----------------------------------------- */
|
300
302
|
|
@@ -328,6 +330,14 @@ typedef struct {
|
|
328
330
|
FFI_API void *ffi_closure_alloc (size_t size, void **code);
|
329
331
|
FFI_API void ffi_closure_free (void *);
|
330
332
|
|
333
|
+
#if defined(PA_LINUX) || defined(PA_HPUX)
|
334
|
+
#define FFI_CLOSURE_PTR(X) ((void *)((unsigned int)(X) | 2))
|
335
|
+
#define FFI_RESTORE_PTR(X) ((void *)((unsigned int)(X) & ~3))
|
336
|
+
#else
|
337
|
+
#define FFI_CLOSURE_PTR(X) (X)
|
338
|
+
#define FFI_RESTORE_PTR(X) (X)
|
339
|
+
#endif
|
340
|
+
|
331
341
|
FFI_API ffi_status
|
332
342
|
ffi_prep_closure (ffi_closure*,
|
333
343
|
ffi_cif *,
|
@@ -414,18 +424,20 @@ ffi_prep_raw_closure_loc (ffi_raw_closure*,
|
|
414
424
|
void *user_data,
|
415
425
|
void *codeloc);
|
416
426
|
|
427
|
+
#if !FFI_NATIVE_RAW_API
|
417
428
|
FFI_API ffi_status
|
418
429
|
ffi_prep_java_raw_closure (ffi_java_raw_closure*,
|
419
430
|
ffi_cif *cif,
|
420
431
|
void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
|
421
|
-
void *user_data);
|
432
|
+
void *user_data) __attribute__((deprecated));
|
422
433
|
|
423
434
|
FFI_API ffi_status
|
424
435
|
ffi_prep_java_raw_closure_loc (ffi_java_raw_closure*,
|
425
436
|
ffi_cif *cif,
|
426
437
|
void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
|
427
438
|
void *user_data,
|
428
|
-
void *codeloc);
|
439
|
+
void *codeloc) __attribute__((deprecated));
|
440
|
+
#endif
|
429
441
|
|
430
442
|
#endif /* FFI_CLOSURES */
|
431
443
|
|
@@ -77,7 +77,7 @@ void ffi_type_test(ffi_type *a, char *file, int line);
|
|
77
77
|
/* v cast to size_t and aligned up to a multiple of a */
|
78
78
|
#define FFI_ALIGN(v, a) (((((size_t) (v))-1) | ((a)-1))+1)
|
79
79
|
/* v cast to size_t and aligned down to a multiple of a */
|
80
|
-
#define
|
80
|
+
#define FFI_ALIGN_DOWN(v, a) (((size_t) (v)) & -a)
|
81
81
|
|
82
82
|
/* Perform machine dependent cif processing */
|
83
83
|
ffi_status ffi_prep_cif_machdep(ffi_cif *cif);
|
@@ -99,6 +99,10 @@ ffi_status ffi_prep_cif_core(ffi_cif *cif,
|
|
99
99
|
ffi_type *rtype,
|
100
100
|
ffi_type **atypes);
|
101
101
|
|
102
|
+
/* Translate a data pointer to a code pointer. Needed for closures on
|
103
|
+
some targets. */
|
104
|
+
void *ffi_data_to_code_pointer (void *data) FFI_HIDDEN;
|
105
|
+
|
102
106
|
/* Extended cif, used in callback from assembly routine */
|
103
107
|
typedef struct
|
104
108
|
{
|
@@ -6,7 +6,7 @@
|
|
6
6
|
/* These version numbers correspond to the libtool-version abi numbers,
|
7
7
|
not to the libffi release numbers. */
|
8
8
|
|
9
|
-
|
9
|
+
LIBFFI_BASE_8.0 {
|
10
10
|
global:
|
11
11
|
/* Exported data variables. */
|
12
12
|
ffi_type_void;
|
@@ -38,27 +38,23 @@ LIBFFI_BASE_7.0 {
|
|
38
38
|
ffi_java_raw_to_ptrarray;
|
39
39
|
ffi_java_raw_size;
|
40
40
|
|
41
|
+
ffi_get_struct_offsets;
|
41
42
|
local:
|
42
43
|
*;
|
43
44
|
};
|
44
45
|
|
45
|
-
LIBFFI_BASE_7.1 {
|
46
|
-
global:
|
47
|
-
ffi_get_struct_offsets;
|
48
|
-
} LIBFFI_BASE_7.0;
|
49
|
-
|
50
46
|
#ifdef FFI_TARGET_HAS_COMPLEX_TYPE
|
51
|
-
|
47
|
+
LIBFFI_COMPLEX_8.0 {
|
52
48
|
global:
|
53
49
|
/* Exported data variables. */
|
54
50
|
ffi_type_complex_float;
|
55
51
|
ffi_type_complex_double;
|
56
52
|
ffi_type_complex_longdouble;
|
57
|
-
}
|
53
|
+
} LIBFFI_BASE_8.0;
|
58
54
|
#endif
|
59
55
|
|
60
56
|
#if FFI_CLOSURES
|
61
|
-
|
57
|
+
LIBFFI_CLOSURE_8.0 {
|
62
58
|
global:
|
63
59
|
ffi_closure_alloc;
|
64
60
|
ffi_closure_free;
|
@@ -68,13 +64,13 @@ LIBFFI_CLOSURE_7.0 {
|
|
68
64
|
ffi_prep_raw_closure_loc;
|
69
65
|
ffi_prep_java_raw_closure;
|
70
66
|
ffi_prep_java_raw_closure_loc;
|
71
|
-
}
|
67
|
+
} LIBFFI_BASE_8.0;
|
72
68
|
#endif
|
73
69
|
|
74
70
|
#if FFI_GO_CLOSURES
|
75
|
-
|
71
|
+
LIBFFI_GO_CLOSURE_8.0 {
|
76
72
|
global:
|
77
73
|
ffi_call_go;
|
78
74
|
ffi_prep_go_closure;
|
79
|
-
}
|
75
|
+
} LIBFFI_CLOSURE_8.0;
|
80
76
|
#endif
|
@@ -9,7 +9,6 @@
|
|
9
9
|
/* Begin PBXBuildFile section */
|
10
10
|
43B5D3F81D35473200D1E1FD /* ffiw64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = 43B5D3F71D35473200D1E1FD /* ffiw64_x86_64.c */; };
|
11
11
|
43B5D3FA1D3547CE00D1E1FD /* win64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = 43B5D3F91D3547CE00D1E1FD /* win64_x86_64.S */; };
|
12
|
-
43E9A5C71D352C1500926A8F /* sysv_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = 43E9A5C51D352C1500926A8F /* sysv_i386.S */; };
|
13
12
|
43E9A5C81D352C1500926A8F /* unix64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = 43E9A5C61D352C1500926A8F /* unix64_x86_64.S */; };
|
14
13
|
DBFA714A187F1D8600A76262 /* ffi.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA713E187F1D8600A76262 /* ffi.h */; };
|
15
14
|
DBFA714B187F1D8600A76262 /* ffi_common.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA713F187F1D8600A76262 /* ffi_common.h */; };
|
@@ -28,26 +27,18 @@
|
|
28
27
|
DBFA7179187F1D9B00A76262 /* ffi_armv7.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA716F187F1D9B00A76262 /* ffi_armv7.c */; };
|
29
28
|
DBFA717A187F1D9B00A76262 /* sysv_armv7.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7170187F1D9B00A76262 /* sysv_armv7.S */; };
|
30
29
|
DBFA717E187F1D9B00A76262 /* ffi64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7175187F1D9B00A76262 /* ffi64_x86_64.c */; };
|
31
|
-
DBFA717F187F1D9B00A76262 /* ffi_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7176187F1D9B00A76262 /* ffi_i386.c */; };
|
32
|
-
DBFA718E187F1DA100A76262 /* ffi_i386.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7182187F1DA100A76262 /* ffi_i386.h */; };
|
33
30
|
DBFA718F187F1DA100A76262 /* ffi_x86_64.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7183187F1DA100A76262 /* ffi_x86_64.h */; };
|
34
|
-
DBFA7190187F1DA100A76262 /* fficonfig_i386.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7184187F1DA100A76262 /* fficonfig_i386.h */; };
|
35
31
|
DBFA7191187F1DA100A76262 /* fficonfig_x86_64.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7185187F1DA100A76262 /* fficonfig_x86_64.h */; };
|
36
|
-
DBFA7192187F1DA100A76262 /* ffitarget_i386.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7186187F1DA100A76262 /* ffitarget_i386.h */; };
|
37
32
|
DBFA7193187F1DA100A76262 /* ffitarget_x86_64.h in Headers */ = {isa = PBXBuildFile; fileRef = DBFA7187187F1DA100A76262 /* ffitarget_x86_64.h */; };
|
38
33
|
DBFA7194187F1DA100A76262 /* unix64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718A187F1DA100A76262 /* unix64_x86_64.S */; };
|
39
|
-
DBFA7195187F1DA100A76262 /* sysv_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718B187F1DA100A76262 /* sysv_i386.S */; };
|
40
34
|
DBFA7196187F1DA100A76262 /* ffi64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718C187F1DA100A76262 /* ffi64_x86_64.c */; };
|
41
|
-
DBFA7197187F1DA100A76262 /* ffi_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718D187F1DA100A76262 /* ffi_i386.c */; };
|
42
35
|
FDB52FB31F6144FA00AA92E6 /* unix64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = 43E9A5C61D352C1500926A8F /* unix64_x86_64.S */; };
|
43
|
-
FDB52FB41F6144FA00AA92E6 /* sysv_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = 43E9A5C51D352C1500926A8F /* sysv_i386.S */; };
|
44
36
|
FDB52FB51F6144FA00AA92E6 /* ffi64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7175187F1D9B00A76262 /* ffi64_x86_64.c */; };
|
45
37
|
FDB52FB61F6144FA00AA92E6 /* ffi_armv7.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA716F187F1D9B00A76262 /* ffi_armv7.c */; };
|
46
38
|
FDB52FB71F6144FA00AA92E6 /* closures.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7143187F1D8600A76262 /* closures.c */; };
|
47
39
|
FDB52FB81F6144FA00AA92E6 /* sysv_armv7.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7170187F1D9B00A76262 /* sysv_armv7.S */; };
|
48
40
|
FDB52FB91F6144FA00AA92E6 /* ffiw64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = 43B5D3F71D35473200D1E1FD /* ffiw64_x86_64.c */; };
|
49
41
|
FDB52FBA1F6144FA00AA92E6 /* prep_cif.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7147187F1D8600A76262 /* prep_cif.c */; };
|
50
|
-
FDB52FBB1F6144FA00AA92E6 /* ffi_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7176187F1D9B00A76262 /* ffi_i386.c */; };
|
51
42
|
FDB52FBC1F6144FA00AA92E6 /* raw_api.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7148187F1D8600A76262 /* raw_api.c */; };
|
52
43
|
FDB52FBD1F6144FA00AA92E6 /* sysv_arm64.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA716D187F1D9B00A76262 /* sysv_arm64.S */; };
|
53
44
|
FDB52FBE1F6144FA00AA92E6 /* types.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7149187F1D8600A76262 /* types.c */; };
|
@@ -56,7 +47,6 @@
|
|
56
47
|
FDB52FD01F614A8B00AA92E6 /* ffi.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA713E187F1D8600A76262 /* ffi.h */; };
|
57
48
|
FDB52FD11F614AA700AA92E6 /* ffi_arm64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA715E187F1D9B00A76262 /* ffi_arm64.h */; };
|
58
49
|
FDB52FD21F614AAB00AA92E6 /* ffi_armv7.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA715F187F1D9B00A76262 /* ffi_armv7.h */; };
|
59
|
-
FDB52FD31F614AB000AA92E6 /* ffi_i386.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7160187F1D9B00A76262 /* ffi_i386.h */; };
|
60
50
|
FDB52FD41F614AB500AA92E6 /* ffi_x86_64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7161187F1D9B00A76262 /* ffi_x86_64.h */; };
|
61
51
|
FDB52FD51F614AE200AA92E6 /* ffi.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA713E187F1D8600A76262 /* ffi.h */; };
|
62
52
|
FDB52FD61F614AEA00AA92E6 /* ffi_arm64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA715E187F1D9B00A76262 /* ffi_arm64.h */; };
|
@@ -64,7 +54,6 @@
|
|
64
54
|
FDB52FD81F614B8700AA92E6 /* ffitarget.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7141187F1D8600A76262 /* ffitarget.h */; };
|
65
55
|
FDB52FD91F614B8E00AA92E6 /* ffitarget_arm64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7166187F1D9B00A76262 /* ffitarget_arm64.h */; };
|
66
56
|
FDB52FDA1F614B9300AA92E6 /* ffitarget_armv7.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7167187F1D9B00A76262 /* ffitarget_armv7.h */; };
|
67
|
-
FDB52FDB1F614B9700AA92E6 /* ffitarget_i386.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7168187F1D9B00A76262 /* ffitarget_i386.h */; };
|
68
57
|
FDB52FDD1F614BA900AA92E6 /* ffitarget_x86_64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7169187F1D9B00A76262 /* ffitarget_x86_64.h */; };
|
69
58
|
FDB52FDE1F6155E300AA92E6 /* ffitarget.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7141187F1D8600A76262 /* ffitarget.h */; };
|
70
59
|
FDB52FDF1F6155EA00AA92E6 /* ffitarget_arm64.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DBFA7166187F1D9B00A76262 /* ffitarget_arm64.h */; };
|
@@ -76,9 +65,7 @@
|
|
76
65
|
FDDB2F411F5D66E200EF414E /* ffiw64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = FDDB2F3F1F5D666900EF414E /* ffiw64_x86_64.c */; };
|
77
66
|
FDDB2F461F5D691E00EF414E /* win64_x86_64.S in Sources */ = {isa = PBXBuildFile; fileRef = FDDB2F441F5D68C900EF414E /* win64_x86_64.S */; };
|
78
67
|
FDDB2F4A1F5D846400EF414E /* ffi64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718C187F1DA100A76262 /* ffi64_x86_64.c */; };
|
79
|
-
FDDB2F4B1F5D846400EF414E /* sysv_i386.S in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718B187F1DA100A76262 /* sysv_i386.S */; };
|
80
68
|
FDDB2F4C1F5D846400EF414E /* prep_cif.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7147187F1D8600A76262 /* prep_cif.c */; };
|
81
|
-
FDDB2F4D1F5D846400EF414E /* ffi_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA718D187F1DA100A76262 /* ffi_i386.c */; };
|
82
69
|
FDDB2F4E1F5D846400EF414E /* ffiw64_x86_64.c in Sources */ = {isa = PBXBuildFile; fileRef = FDDB2F3F1F5D666900EF414E /* ffiw64_x86_64.c */; };
|
83
70
|
FDDB2F4F1F5D846400EF414E /* types.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7149187F1D8600A76262 /* types.c */; };
|
84
71
|
FDDB2F501F5D846400EF414E /* raw_api.c in Sources */ = {isa = PBXBuildFile; fileRef = DBFA7148187F1D8600A76262 /* raw_api.c */; };
|
@@ -97,12 +84,10 @@
|
|
97
84
|
FDB52FD01F614A8B00AA92E6 /* ffi.h in CopyFiles */,
|
98
85
|
FDB52FD11F614AA700AA92E6 /* ffi_arm64.h in CopyFiles */,
|
99
86
|
FDB52FD21F614AAB00AA92E6 /* ffi_armv7.h in CopyFiles */,
|
100
|
-
FDB52FD31F614AB000AA92E6 /* ffi_i386.h in CopyFiles */,
|
101
87
|
FDB52FD41F614AB500AA92E6 /* ffi_x86_64.h in CopyFiles */,
|
102
88
|
FDB52FD81F614B8700AA92E6 /* ffitarget.h in CopyFiles */,
|
103
89
|
FDB52FD91F614B8E00AA92E6 /* ffitarget_arm64.h in CopyFiles */,
|
104
90
|
FDB52FDA1F614B9300AA92E6 /* ffitarget_armv7.h in CopyFiles */,
|
105
|
-
FDB52FDB1F614B9700AA92E6 /* ffitarget_i386.h in CopyFiles */,
|
106
91
|
FDB52FDD1F614BA900AA92E6 /* ffitarget_x86_64.h in CopyFiles */,
|
107
92
|
);
|
108
93
|
runOnlyForDeploymentPostprocessing = 0;
|
@@ -140,7 +125,6 @@
|
|
140
125
|
/* Begin PBXFileReference section */
|
141
126
|
43B5D3F71D35473200D1E1FD /* ffiw64_x86_64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffiw64_x86_64.c; sourceTree = "<group>"; };
|
142
127
|
43B5D3F91D3547CE00D1E1FD /* win64_x86_64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = win64_x86_64.S; sourceTree = "<group>"; };
|
143
|
-
43E9A5C51D352C1500926A8F /* sysv_i386.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = sysv_i386.S; sourceTree = "<group>"; };
|
144
128
|
43E9A5C61D352C1500926A8F /* unix64_x86_64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = unix64_x86_64.S; sourceTree = "<group>"; };
|
145
129
|
43E9A5DA1D35373600926A8F /* internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = internal.h; sourceTree = "<group>"; };
|
146
130
|
43E9A5DB1D35374400926A8F /* internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = internal.h; sourceTree = "<group>"; };
|
@@ -159,32 +143,23 @@
|
|
159
143
|
DBFA7149187F1D8600A76262 /* types.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = types.c; sourceTree = "<group>"; };
|
160
144
|
DBFA715E187F1D9B00A76262 /* ffi_arm64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffi_arm64.h; sourceTree = "<group>"; };
|
161
145
|
DBFA715F187F1D9B00A76262 /* ffi_armv7.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffi_armv7.h; sourceTree = "<group>"; };
|
162
|
-
DBFA7160187F1D9B00A76262 /* ffi_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffi_i386.h; sourceTree = "<group>"; };
|
163
146
|
DBFA7161187F1D9B00A76262 /* ffi_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffi_x86_64.h; sourceTree = "<group>"; };
|
164
147
|
DBFA7162187F1D9B00A76262 /* fficonfig_arm64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fficonfig_arm64.h; sourceTree = "<group>"; };
|
165
148
|
DBFA7163187F1D9B00A76262 /* fficonfig_armv7.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fficonfig_armv7.h; sourceTree = "<group>"; };
|
166
|
-
DBFA7164187F1D9B00A76262 /* fficonfig_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fficonfig_i386.h; sourceTree = "<group>"; };
|
167
149
|
DBFA7165187F1D9B00A76262 /* fficonfig_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fficonfig_x86_64.h; sourceTree = "<group>"; };
|
168
150
|
DBFA7166187F1D9B00A76262 /* ffitarget_arm64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_arm64.h; sourceTree = "<group>"; };
|
169
151
|
DBFA7167187F1D9B00A76262 /* ffitarget_armv7.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_armv7.h; sourceTree = "<group>"; };
|
170
|
-
DBFA7168187F1D9B00A76262 /* ffitarget_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_i386.h; sourceTree = "<group>"; };
|
171
152
|
DBFA7169187F1D9B00A76262 /* ffitarget_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_x86_64.h; sourceTree = "<group>"; };
|
172
153
|
DBFA716C187F1D9B00A76262 /* ffi_arm64.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.c; path = ffi_arm64.c; sourceTree = "<group>"; };
|
173
154
|
DBFA716D187F1D9B00A76262 /* sysv_arm64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = sysv_arm64.S; sourceTree = "<group>"; };
|
174
155
|
DBFA716F187F1D9B00A76262 /* ffi_armv7.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.c; path = ffi_armv7.c; sourceTree = "<group>"; };
|
175
156
|
DBFA7170187F1D9B00A76262 /* sysv_armv7.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = sysv_armv7.S; sourceTree = "<group>"; };
|
176
157
|
DBFA7175187F1D9B00A76262 /* ffi64_x86_64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffi64_x86_64.c; sourceTree = "<group>"; };
|
177
|
-
DBFA7176187F1D9B00A76262 /* ffi_i386.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffi_i386.c; sourceTree = "<group>"; };
|
178
|
-
DBFA7182187F1DA100A76262 /* ffi_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffi_i386.h; sourceTree = "<group>"; };
|
179
158
|
DBFA7183187F1DA100A76262 /* ffi_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffi_x86_64.h; sourceTree = "<group>"; };
|
180
|
-
DBFA7184187F1DA100A76262 /* fficonfig_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fficonfig_i386.h; sourceTree = "<group>"; };
|
181
159
|
DBFA7185187F1DA100A76262 /* fficonfig_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fficonfig_x86_64.h; sourceTree = "<group>"; };
|
182
|
-
DBFA7186187F1DA100A76262 /* ffitarget_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_i386.h; sourceTree = "<group>"; };
|
183
160
|
DBFA7187187F1DA100A76262 /* ffitarget_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ffitarget_x86_64.h; sourceTree = "<group>"; };
|
184
161
|
DBFA718A187F1DA100A76262 /* unix64_x86_64.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = unix64_x86_64.S; sourceTree = "<group>"; };
|
185
|
-
DBFA718B187F1DA100A76262 /* sysv_i386.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = sysv_i386.S; sourceTree = "<group>"; };
|
186
162
|
DBFA718C187F1DA100A76262 /* ffi64_x86_64.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.c; path = ffi64_x86_64.c; sourceTree = "<group>"; };
|
187
|
-
DBFA718D187F1DA100A76262 /* ffi_i386.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffi_i386.c; sourceTree = "<group>"; };
|
188
163
|
FDB52FC51F6144FA00AA92E6 /* libffi.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libffi.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
189
164
|
FDDB2F3E1F5D61BC00EF414E /* asmnames.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = asmnames.h; sourceTree = "<group>"; };
|
190
165
|
FDDB2F3F1F5D666900EF414E /* ffiw64_x86_64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ffiw64_x86_64.c; sourceTree = "<group>"; };
|
@@ -262,15 +237,12 @@
|
|
262
237
|
children = (
|
263
238
|
DBFA715E187F1D9B00A76262 /* ffi_arm64.h */,
|
264
239
|
DBFA715F187F1D9B00A76262 /* ffi_armv7.h */,
|
265
|
-
DBFA7160187F1D9B00A76262 /* ffi_i386.h */,
|
266
240
|
DBFA7161187F1D9B00A76262 /* ffi_x86_64.h */,
|
267
241
|
DBFA7162187F1D9B00A76262 /* fficonfig_arm64.h */,
|
268
242
|
DBFA7163187F1D9B00A76262 /* fficonfig_armv7.h */,
|
269
|
-
DBFA7164187F1D9B00A76262 /* fficonfig_i386.h */,
|
270
243
|
DBFA7165187F1D9B00A76262 /* fficonfig_x86_64.h */,
|
271
244
|
DBFA7166187F1D9B00A76262 /* ffitarget_arm64.h */,
|
272
245
|
DBFA7167187F1D9B00A76262 /* ffitarget_armv7.h */,
|
273
|
-
DBFA7168187F1D9B00A76262 /* ffitarget_i386.h */,
|
274
246
|
DBFA7169187F1D9B00A76262 /* ffitarget_x86_64.h */,
|
275
247
|
);
|
276
248
|
path = include;
|
@@ -313,8 +285,6 @@
|
|
313
285
|
43E9A5DD1D35375400926A8F /* internal64.h */,
|
314
286
|
DBFA7175187F1D9B00A76262 /* ffi64_x86_64.c */,
|
315
287
|
43B5D3F71D35473200D1E1FD /* ffiw64_x86_64.c */,
|
316
|
-
DBFA7176187F1D9B00A76262 /* ffi_i386.c */,
|
317
|
-
43E9A5C51D352C1500926A8F /* sysv_i386.S */,
|
318
288
|
43E9A5C61D352C1500926A8F /* unix64_x86_64.S */,
|
319
289
|
43B5D3F91D3547CE00D1E1FD /* win64_x86_64.S */,
|
320
290
|
);
|
@@ -333,11 +303,8 @@
|
|
333
303
|
DBFA7181187F1DA100A76262 /* include */ = {
|
334
304
|
isa = PBXGroup;
|
335
305
|
children = (
|
336
|
-
DBFA7182187F1DA100A76262 /* ffi_i386.h */,
|
337
306
|
DBFA7183187F1DA100A76262 /* ffi_x86_64.h */,
|
338
|
-
DBFA7184187F1DA100A76262 /* fficonfig_i386.h */,
|
339
307
|
DBFA7185187F1DA100A76262 /* fficonfig_x86_64.h */,
|
340
|
-
DBFA7186187F1DA100A76262 /* ffitarget_i386.h */,
|
341
308
|
DBFA7187187F1DA100A76262 /* ffitarget_x86_64.h */,
|
342
309
|
);
|
343
310
|
path = include;
|
@@ -359,8 +326,6 @@
|
|
359
326
|
FDDB2F3E1F5D61BC00EF414E /* asmnames.h */,
|
360
327
|
DBFA718C187F1DA100A76262 /* ffi64_x86_64.c */,
|
361
328
|
FDDB2F3F1F5D666900EF414E /* ffiw64_x86_64.c */,
|
362
|
-
DBFA718D187F1DA100A76262 /* ffi_i386.c */,
|
363
|
-
DBFA718B187F1DA100A76262 /* sysv_i386.S */,
|
364
329
|
DBFA718A187F1DA100A76262 /* unix64_x86_64.S */,
|
365
330
|
FDDB2F441F5D68C900EF414E /* win64_x86_64.S */,
|
366
331
|
);
|
@@ -379,11 +344,8 @@
|
|
379
344
|
DBFA714A187F1D8600A76262 /* ffi.h in Headers */,
|
380
345
|
DBFA718F187F1DA100A76262 /* ffi_x86_64.h in Headers */,
|
381
346
|
DBFA7191187F1DA100A76262 /* fficonfig_x86_64.h in Headers */,
|
382
|
-
DBFA718E187F1DA100A76262 /* ffi_i386.h in Headers */,
|
383
|
-
DBFA7190187F1DA100A76262 /* fficonfig_i386.h in Headers */,
|
384
347
|
DBFA714B187F1D8600A76262 /* ffi_common.h in Headers */,
|
385
348
|
DBFA7193187F1DA100A76262 /* ffitarget_x86_64.h in Headers */,
|
386
|
-
DBFA7192187F1DA100A76262 /* ffitarget_i386.h in Headers */,
|
387
349
|
);
|
388
350
|
runOnlyForDeploymentPostprocessing = 0;
|
389
351
|
};
|
@@ -549,14 +511,12 @@
|
|
549
511
|
buildActionMask = 2147483647;
|
550
512
|
files = (
|
551
513
|
43E9A5C81D352C1500926A8F /* unix64_x86_64.S in Sources */,
|
552
|
-
43E9A5C71D352C1500926A8F /* sysv_i386.S in Sources */,
|
553
514
|
DBFA717E187F1D9B00A76262 /* ffi64_x86_64.c in Sources */,
|
554
515
|
DBFA7179187F1D9B00A76262 /* ffi_armv7.c in Sources */,
|
555
516
|
DBFA714E187F1D8600A76262 /* closures.c in Sources */,
|
556
517
|
DBFA717A187F1D9B00A76262 /* sysv_armv7.S in Sources */,
|
557
518
|
43B5D3F81D35473200D1E1FD /* ffiw64_x86_64.c in Sources */,
|
558
519
|
DBFA7156187F1D8600A76262 /* prep_cif.c in Sources */,
|
559
|
-
DBFA717F187F1D9B00A76262 /* ffi_i386.c in Sources */,
|
560
520
|
DBFA7158187F1D8600A76262 /* raw_api.c in Sources */,
|
561
521
|
DBFA7178187F1D9B00A76262 /* sysv_arm64.S in Sources */,
|
562
522
|
DBFA715A187F1D8600A76262 /* types.c in Sources */,
|
@@ -570,9 +530,7 @@
|
|
570
530
|
buildActionMask = 2147483647;
|
571
531
|
files = (
|
572
532
|
DBFA7196187F1DA100A76262 /* ffi64_x86_64.c in Sources */,
|
573
|
-
DBFA7195187F1DA100A76262 /* sysv_i386.S in Sources */,
|
574
533
|
DBFA7157187F1D8600A76262 /* prep_cif.c in Sources */,
|
575
|
-
DBFA7197187F1DA100A76262 /* ffi_i386.c in Sources */,
|
576
534
|
FDDB2F411F5D66E200EF414E /* ffiw64_x86_64.c in Sources */,
|
577
535
|
DBFA715B187F1D8600A76262 /* types.c in Sources */,
|
578
536
|
DBFA7159187F1D8600A76262 /* raw_api.c in Sources */,
|
@@ -587,14 +545,12 @@
|
|
587
545
|
buildActionMask = 2147483647;
|
588
546
|
files = (
|
589
547
|
FDB52FB31F6144FA00AA92E6 /* unix64_x86_64.S in Sources */,
|
590
|
-
FDB52FB41F6144FA00AA92E6 /* sysv_i386.S in Sources */,
|
591
548
|
FDB52FB51F6144FA00AA92E6 /* ffi64_x86_64.c in Sources */,
|
592
549
|
FDB52FB61F6144FA00AA92E6 /* ffi_armv7.c in Sources */,
|
593
550
|
FDB52FB71F6144FA00AA92E6 /* closures.c in Sources */,
|
594
551
|
FDB52FB81F6144FA00AA92E6 /* sysv_armv7.S in Sources */,
|
595
552
|
FDB52FB91F6144FA00AA92E6 /* ffiw64_x86_64.c in Sources */,
|
596
553
|
FDB52FBA1F6144FA00AA92E6 /* prep_cif.c in Sources */,
|
597
|
-
FDB52FBB1F6144FA00AA92E6 /* ffi_i386.c in Sources */,
|
598
554
|
FDB52FBC1F6144FA00AA92E6 /* raw_api.c in Sources */,
|
599
555
|
FDB52FBD1F6144FA00AA92E6 /* sysv_arm64.S in Sources */,
|
600
556
|
FDB52FBE1F6144FA00AA92E6 /* types.c in Sources */,
|
@@ -608,9 +564,7 @@
|
|
608
564
|
buildActionMask = 2147483647;
|
609
565
|
files = (
|
610
566
|
FDDB2F4A1F5D846400EF414E /* ffi64_x86_64.c in Sources */,
|
611
|
-
FDDB2F4B1F5D846400EF414E /* sysv_i386.S in Sources */,
|
612
567
|
FDDB2F4C1F5D846400EF414E /* prep_cif.c in Sources */,
|
613
|
-
FDDB2F4D1F5D846400EF414E /* ffi_i386.c in Sources */,
|
614
568
|
FDDB2F4E1F5D846400EF414E /* ffiw64_x86_64.c in Sources */,
|
615
569
|
FDDB2F4F1F5D846400EF414E /* types.c in Sources */,
|
616
570
|
FDDB2F501F5D846400EF414E /* raw_api.c in Sources */,
|
@@ -712,7 +666,7 @@
|
|
712
666
|
PRODUCT_NAME = ffi;
|
713
667
|
SDKROOT = iphoneos;
|
714
668
|
SKIP_INSTALL = YES;
|
715
|
-
VALID_ARCHS = "arm64 armv7 armv7s
|
669
|
+
VALID_ARCHS = "arm64 armv7 armv7s x86_64";
|
716
670
|
};
|
717
671
|
name = Debug;
|
718
672
|
};
|
@@ -746,7 +700,7 @@
|
|
746
700
|
SDKROOT = iphoneos;
|
747
701
|
SKIP_INSTALL = YES;
|
748
702
|
VALIDATE_PRODUCT = YES;
|
749
|
-
VALID_ARCHS = "arm64 armv7 armv7s
|
703
|
+
VALID_ARCHS = "arm64 armv7 armv7s x86_64";
|
750
704
|
};
|
751
705
|
name = Release;
|
752
706
|
};
|
@@ -2,7 +2,7 @@ AC_DEFUN([GCC_AS_CFI_PSEUDO_OP],
|
|
2
2
|
[AC_CACHE_CHECK([assembler .cfi pseudo-op support],
|
3
3
|
gcc_cv_as_cfi_pseudo_op, [
|
4
4
|
gcc_cv_as_cfi_pseudo_op=unknown
|
5
|
-
AC_TRY_COMPILE([asm (".cfi_startproc\n\t.cfi_endproc");],,
|
5
|
+
AC_TRY_COMPILE([asm (".cfi_sections\n\t.cfi_startproc\n\t.cfi_endproc");],,
|
6
6
|
[gcc_cv_as_cfi_pseudo_op=yes],
|
7
7
|
[gcc_cv_as_cfi_pseudo_op=no])
|
8
8
|
])
|
@@ -23,33 +23,12 @@
|
|
23
23
|
# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
|
24
24
|
# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
|
25
25
|
#
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
# This program is distributed in the hope that it will be useful, but
|
32
|
-
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
33
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
34
|
-
# Public License for more details.
|
35
|
-
#
|
36
|
-
# You should have received a copy of the GNU General Public License along
|
37
|
-
# with this program. If not, see <https://www.gnu.org/licenses/>.
|
38
|
-
#
|
39
|
-
# As a special exception, the respective Autoconf Macro's copyright owner
|
40
|
-
# gives unlimited permission to copy, distribute and modify the configure
|
41
|
-
# scripts that are the output of Autoconf when processing the Macro. You
|
42
|
-
# need not follow the terms of the GNU General Public License when using
|
43
|
-
# or distributing such scripts, even though portions of the text of the
|
44
|
-
# Macro appear in them. The GNU General Public License (GPL) does govern
|
45
|
-
# all other use of the material that constitutes the Autoconf Macro.
|
46
|
-
#
|
47
|
-
# This special exception to the GPL applies to versions of the Autoconf
|
48
|
-
# Macro released by the Autoconf Archive. When you make and distribute a
|
49
|
-
# modified version of the Autoconf Macro, you may extend this special
|
50
|
-
# exception to the GPL to apply to your modified version as well.
|
26
|
+
# Copying and distribution of this file, with or without modification, are
|
27
|
+
# permitted in any medium without royalty provided the copyright notice
|
28
|
+
# and this notice are preserved. This file is offered as-is, without any
|
29
|
+
# warranty.
|
51
30
|
|
52
|
-
#serial
|
31
|
+
#serial 8
|
53
32
|
|
54
33
|
AC_DEFUN([AX_APPEND_FLAG],
|
55
34
|
[dnl
|