ffi 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ffi might be problematic. Click here for more details.
- data/README.rdoc +19 -0
- data/Rakefile +65 -55
- data/ext/{AbstractMemory.c → ffi_c/AbstractMemory.c} +67 -40
- data/ext/{AbstractMemory.h → ffi_c/AbstractMemory.h} +10 -8
- data/ext/{AutoPointer.c → ffi_c/AutoPointer.c} +17 -8
- data/ext/{AutoPointer.h → ffi_c/AutoPointer.h} +0 -0
- data/ext/ffi_c/Buffer.c +136 -0
- data/ext/{Callback.c → ffi_c/Callback.c} +60 -35
- data/ext/{Callback.h → ffi_c/Callback.h} +1 -7
- data/ext/{Invoker.c → ffi_c/Invoker.c} +472 -102
- data/ext/ffi_c/MemoryPointer.c +146 -0
- data/ext/{MemoryPointer.h → ffi_c/MemoryPointer.h} +2 -7
- data/ext/ffi_c/NativeLibrary.c +149 -0
- data/ext/{NativeLibrary.h → ffi_c/NativeLibrary.h} +0 -0
- data/ext/ffi_c/NullPointer.c +104 -0
- data/ext/{Platform.c → ffi_c/Platform.c} +0 -0
- data/ext/{Platform.h → ffi_c/Platform.h} +0 -7
- data/ext/{Pointer.c → ffi_c/Pointer.c} +35 -15
- data/ext/{Pointer.h → ffi_c/Pointer.h} +4 -2
- data/ext/ffi_c/Struct.c +542 -0
- data/ext/ffi_c/Struct.h +26 -0
- data/ext/ffi_c/Types.c +76 -0
- data/ext/{Types.h → ffi_c/Types.h} +23 -28
- data/ext/{compat.h → ffi_c/compat.h} +2 -2
- data/ext/{extconf.rb → ffi_c/extconf.rb} +12 -7
- data/ext/ffi_c/ffi.c +99 -0
- data/ext/ffi_c/ffi.mk +23 -0
- data/ext/{libffi.darwin.mk → ffi_c/libffi.darwin.mk} +0 -0
- data/ext/ffi_c/libffi.mk +11 -0
- data/ext/{libffi → ffi_c/libffi}/ChangeLog +0 -0
- data/ext/{libffi → ffi_c/libffi}/ChangeLog.libffi +0 -0
- data/ext/{libffi → ffi_c/libffi}/ChangeLog.libgcj +0 -0
- data/ext/{libffi → ffi_c/libffi}/ChangeLog.v1 +0 -0
- data/ext/{libffi → ffi_c/libffi}/LICENSE +0 -0
- data/ext/{libffi → ffi_c/libffi}/Makefile.am +0 -0
- data/ext/{libffi → ffi_c/libffi}/Makefile.in +0 -0
- data/ext/{libffi → ffi_c/libffi}/README +0 -0
- data/ext/{libffi → ffi_c/libffi}/TODO +0 -0
- data/ext/{libffi → ffi_c/libffi}/acinclude.m4 +0 -0
- data/ext/{libffi → ffi_c/libffi}/aclocal.m4 +0 -0
- data/ext/{libffi → ffi_c/libffi}/compile +0 -0
- data/ext/{libffi → ffi_c/libffi}/config.guess +0 -0
- data/ext/{libffi → ffi_c/libffi}/config.sub +0 -0
- data/ext/{libffi → ffi_c/libffi}/configure +0 -0
- data/ext/{libffi → ffi_c/libffi}/configure.ac +0 -0
- data/ext/{libffi → ffi_c/libffi}/configure.host +0 -0
- data/ext/{libffi → ffi_c/libffi}/depcomp +0 -0
- data/ext/{libffi → ffi_c/libffi}/doc/libffi.info +0 -0
- data/ext/{libffi → ffi_c/libffi}/doc/libffi.texi +0 -0
- data/ext/{libffi → ffi_c/libffi}/doc/stamp-vti +0 -0
- data/ext/{libffi → ffi_c/libffi}/doc/version.texi +0 -0
- data/ext/{libffi → ffi_c/libffi}/fficonfig.h.in +0 -0
- data/ext/{libffi → ffi_c/libffi}/include/Makefile.am +0 -0
- data/ext/{libffi → ffi_c/libffi}/include/Makefile.in +0 -0
- data/ext/{libffi → ffi_c/libffi}/include/ffi.h.in +0 -0
- data/ext/{libffi → ffi_c/libffi}/include/ffi_common.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/install-sh +0 -0
- data/ext/{libffi → ffi_c/libffi}/libffi.pc.in +0 -0
- data/ext/{libffi → ffi_c/libffi}/libtool-version +0 -0
- data/ext/{libffi → ffi_c/libffi}/ltcf-c.sh +0 -0
- data/ext/{libffi → ffi_c/libffi}/ltcf-cxx.sh +0 -0
- data/ext/{libffi → ffi_c/libffi}/ltcf-gcj.sh +0 -0
- data/ext/{libffi → ffi_c/libffi}/ltconfig +0 -0
- data/ext/{libffi → ffi_c/libffi}/ltmain.sh +0 -0
- data/ext/{libffi → ffi_c/libffi}/man/Makefile.am +0 -0
- data/ext/{libffi → ffi_c/libffi}/man/Makefile.in +0 -0
- data/ext/{libffi → ffi_c/libffi}/man/ffi.3 +0 -0
- data/ext/{libffi → ffi_c/libffi}/man/ffi_call.3 +0 -0
- data/ext/{libffi → ffi_c/libffi}/man/ffi_prep_cif.3 +0 -0
- data/ext/{libffi → ffi_c/libffi}/mdate-sh +0 -0
- data/ext/{libffi → ffi_c/libffi}/missing +0 -0
- data/ext/{libffi → ffi_c/libffi}/mkinstalldirs +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/alpha/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/alpha/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/alpha/osf.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/arm/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/arm/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/arm/sysv.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/closures.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/cris/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/cris/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/cris/sysv.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/debug.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/dlmalloc.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/frv/eabi.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/frv/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/frv/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/ia64/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/ia64/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/ia64/ia64_flags.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/ia64/unix.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/java_raw_api.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/m32r/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/m32r/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/m32r/sysv.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/m68k/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/m68k/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/m68k/sysv.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/mips/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/mips/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/mips/n32.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/mips/o32.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/pa/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/pa/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/pa/hpux32.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/pa/linux.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/aix.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/aix_closure.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/asm.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/darwin.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/darwin_closure.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/ffi_darwin.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/linux64.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/linux64_closure.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/ppc_closure.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/powerpc/sysv.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/prep_cif.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/raw_api.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/s390/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/s390/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/s390/sysv.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sh/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sh/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sh/sysv.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sh64/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sh64/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sh64/sysv.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sparc/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sparc/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sparc/v8.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/sparc/v9.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/types.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/x86/darwin.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/x86/darwin64.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/x86/ffi.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/x86/ffi64.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/x86/ffitarget.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/x86/freebsd.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/x86/sysv.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/x86/unix64.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/src/x86/win32.S +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/Makefile.am +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/Makefile.in +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/config/default.exp +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/lib/libffi-dg.exp +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/lib/target-libpath.exp +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/lib/wrapper.exp +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/call.exp +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/closure_fn0.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/closure_fn1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/closure_fn2.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/closure_fn3.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/closure_fn4.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/closure_fn5.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/closure_fn6.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/closure_stdcall.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_12byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_16byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_18byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_19byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_1_1byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_20byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_20byte1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_24byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_2byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_3_1byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_3byte1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_3byte2.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_4_1byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_4byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_5_1_byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_5byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_64byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_6_1_byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_6byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_7_1_byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_7byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_8byte.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_9byte1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_9byte2.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_double.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_float.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_longdouble.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_pointer.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_sint16.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_sint32.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_sint64.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_uint16.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_uint32.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_align_uint64.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_double.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_float.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_multi_schar.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_multi_sshort.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_multi_sshortchar.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_multi_uchar.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_multi_ushort.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_multi_ushortchar.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_schar.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_sint.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_sshort.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_uchar.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_uint.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_ulonglong.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/cls_ushort.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/ffitest.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/float.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/float1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/float2.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/float3.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/float4.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/many.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/many_win32.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/negint.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct10.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct2.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct3.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct4.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct5.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct6.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct7.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct8.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/nested_struct9.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/problem1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/promotion.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/pyobjc-tc.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_dbl.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_dbl1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_dbl2.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_fl.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_fl1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_fl2.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_fl3.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_ldl.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_ll.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_ll1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_sc.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_sl.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_uc.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/return_ul.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/strlen.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/strlen_win32.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/struct1.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/struct2.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/struct3.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/struct4.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/struct5.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/struct6.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/struct7.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/struct8.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.call/struct9.c +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.special/ffitestcxx.h +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.special/special.exp +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.special/unwindtest.cc +0 -0
- data/ext/{libffi → ffi_c/libffi}/testsuite/libffi.special/unwindtest_ffi_call.cc +0 -0
- data/ext/{libffi → ffi_c/libffi}/texinfo.tex +0 -0
- data/ext/{rbffi.h → ffi_c/rbffi.h} +1 -8
- data/lib/ffi/autopointer.rb +7 -7
- data/lib/ffi/buffer.rb +0 -25
- data/lib/ffi/ffi.rb +1 -0
- data/lib/ffi/library.rb +103 -37
- data/lib/ffi/memorypointer.rb +25 -28
- data/lib/ffi/platform.rb +2 -2
- data/lib/ffi/pointer.rb +21 -7
- data/lib/ffi/struct.rb +161 -179
- data/lib/ffi/types.rb +3 -3
- data/lib/ffi/union.rb +17 -0
- data/nbproject/configurations.xml +98 -88
- data/samples/hello.rb +1 -2
- data/samples/sample_helper.rb +6 -0
- data/{specs → spec/ffi}/buffer_spec.rb +0 -0
- data/{specs → spec/ffi}/callback_spec.rb +114 -89
- data/{specs → spec/ffi}/errno_spec.rb +0 -0
- data/spec/ffi/library_spec.rb +144 -0
- data/{specs → spec/ffi}/managed_struct_spec.rb +12 -1
- data/{specs → spec/ffi}/number_spec.rb +34 -16
- data/{specs → spec/ffi}/pointer_spec.rb +46 -2
- data/{specs → spec/ffi}/rbx/attach_function_spec.rb +2 -1
- data/{specs → spec/ffi}/rbx/memory_pointer_spec.rb +19 -19
- data/{specs → spec/ffi}/rbx/spec_helper.rb +0 -0
- data/{specs → spec/ffi}/rbx/struct_spec.rb +0 -0
- data/spec/ffi/spec_helper.rb +13 -0
- data/{specs → spec/ffi}/string_spec.rb +8 -0
- data/spec/ffi/struct_spec.rb +453 -0
- data/{specs → spec/ffi}/typedef_spec.rb +3 -3
- data/spec/ffi/union_spec.rb +60 -0
- data/{specs → spec/ffi}/variadic_spec.rb +0 -0
- data/spec/spec.opts +4 -0
- metadata +356 -334
- data/README +0 -0
- data/ext/Buffer.c +0 -98
- data/ext/MemoryPointer.c +0 -99
- data/ext/NativeLibrary.c +0 -90
- data/ext/Types.c +0 -76
- data/ext/ffi.c +0 -64
- data/ext/ffi.mk +0 -24
- data/ext/libffi.mk +0 -10
- data/gen/Rakefile +0 -12
- data/specs/library_spec.rb +0 -55
- data/specs/spec_helper.rb +0 -9
- data/specs/struct_spec.rb +0 -223
@@ -5,9 +5,9 @@ describe "Custom type definitions" do
|
|
5
5
|
extend FFI::Library
|
6
6
|
ffi_lib TestLibrary::PATH
|
7
7
|
typedef :uint, :fubar_t
|
8
|
-
attach_function :
|
8
|
+
attach_function :ret_u32, [ :fubar_t ], :fubar_t
|
9
9
|
end
|
10
|
-
CustomTypedef.
|
10
|
+
CustomTypedef.ret_u32(0x12345678).should == 0x12345678
|
11
11
|
end
|
12
12
|
it "variadic invoker with custom typedef" do
|
13
13
|
module VariadicCustomTypedef
|
@@ -18,7 +18,7 @@ describe "Custom type definitions" do
|
|
18
18
|
end
|
19
19
|
buf = FFI::Buffer.new :uint, 10
|
20
20
|
VariadicCustomTypedef.pack_varargs(buf, "i", :fubar_t, 0x12345678)
|
21
|
-
buf.
|
21
|
+
buf.get_int64(0).should == 0x12345678
|
22
22
|
end
|
23
23
|
it "Callback with custom typedef parameter" do
|
24
24
|
module CallbackCustomTypedef
|
@@ -0,0 +1,60 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
|
2
|
+
|
3
|
+
module LibTest
|
4
|
+
Types = {
|
5
|
+
's8' => [:char, :c, 1],
|
6
|
+
's16' => [:short, :s, 0xff0],
|
7
|
+
's32' => [:int, :i, 0xff00],
|
8
|
+
's64' => [:long_long, :j, 0xffff00],
|
9
|
+
'long' => [:long, :l, 0xffff],
|
10
|
+
'f32' => [:float, :f, 1.0001],
|
11
|
+
'f64' => [:double, :d, 1.000000001]
|
12
|
+
}
|
13
|
+
class TestUnion < FFI::Union
|
14
|
+
layout( :a, [:char, 10],
|
15
|
+
:i, :int,
|
16
|
+
:f, :float,
|
17
|
+
:d, :double,
|
18
|
+
:s, :short,
|
19
|
+
:l, :long,
|
20
|
+
:j, :long_long,
|
21
|
+
:c, :char )
|
22
|
+
end
|
23
|
+
Types.keys.each do |k|
|
24
|
+
attach_function "union_align_#{k}", [ :pointer ], Types[k][0]
|
25
|
+
attach_function "union_make_union_with_#{k}", [ Types[k][0] ], :pointer
|
26
|
+
end
|
27
|
+
attach_function :union_size, [], :uint
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'Union' do
|
31
|
+
before do
|
32
|
+
@u = LibTest::TestUnion.new
|
33
|
+
end
|
34
|
+
it 'should place all the fields at offset 0' do
|
35
|
+
LibTest::TestUnion.members.all? { |m| LibTest::TestUnion.offset_of(m) == 0 }.should be_true
|
36
|
+
end
|
37
|
+
LibTest::Types.each do |k, type|
|
38
|
+
it "should correctly align/write a #{type[0]} value" do
|
39
|
+
@u[type[1]] = type[2]
|
40
|
+
if k == 'f32' or k == 'f64'
|
41
|
+
(@u[type[1]] - LibTest.send("union_align_#{k}", @u.to_ptr)).abs.should < 0.00001
|
42
|
+
else
|
43
|
+
@u[type[1]].should == LibTest.send("union_align_#{k}", @u.to_ptr)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
LibTest::Types.each do |k, type|
|
48
|
+
it "should read a #{type[0]} value from memory" do
|
49
|
+
@u = LibTest::TestUnion.new(LibTest.send("union_make_union_with_#{k}", type[2]))
|
50
|
+
if k == 'f32' or k == 'f64'
|
51
|
+
(@u[type[1]] - type[2]).abs.should < 0.00001
|
52
|
+
else
|
53
|
+
@u[type[1]].should == type[2]
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
it 'should return a size equals to the size of the biggest field' do
|
58
|
+
LibTest::TestUnion.size.should == LibTest.union_size
|
59
|
+
end
|
60
|
+
end
|
File without changes
|
data/spec/spec.opts
ADDED
metadata
CHANGED
@@ -1,375 +1,397 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wayne Meissner
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-03-19 00:00:00 +10:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: bones
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.4.2
|
24
|
+
version:
|
25
|
+
description: A Ruby foreign function interface
|
17
26
|
email: wmeissner@gmail.com
|
18
27
|
executables: []
|
19
28
|
|
20
29
|
extensions:
|
21
|
-
- ext/extconf.rb
|
22
|
-
- gen/Rakefile
|
30
|
+
- ext/ffi_c/extconf.rb
|
23
31
|
extra_rdoc_files:
|
24
|
-
- README
|
25
|
-
-
|
32
|
+
- README.rdoc
|
33
|
+
- lib/ffi
|
34
|
+
- lib/ffi/tools
|
26
35
|
files:
|
27
36
|
- LICENSE
|
28
|
-
- README
|
37
|
+
- README.rdoc
|
29
38
|
- Rakefile
|
30
|
-
- ext/
|
31
|
-
- ext/AbstractMemory.c
|
32
|
-
- ext/
|
33
|
-
- ext/
|
34
|
-
- ext/
|
35
|
-
- ext/
|
36
|
-
- ext/
|
37
|
-
- ext/
|
38
|
-
- ext/
|
39
|
-
- ext/
|
40
|
-
- ext/
|
41
|
-
- ext/
|
42
|
-
- ext/
|
43
|
-
- ext/
|
44
|
-
- ext/
|
45
|
-
- ext/
|
46
|
-
- ext/
|
47
|
-
- ext/
|
48
|
-
- ext/
|
49
|
-
- ext/
|
50
|
-
- ext/
|
51
|
-
- ext/
|
52
|
-
- ext/
|
53
|
-
- ext/
|
54
|
-
- ext/
|
55
|
-
- ext/
|
56
|
-
- ext/libffi
|
57
|
-
- ext/libffi
|
58
|
-
- ext/libffi
|
59
|
-
- ext/libffi/
|
60
|
-
- ext/libffi/
|
61
|
-
- ext/libffi/
|
62
|
-
- ext/libffi/
|
63
|
-
- ext/libffi/
|
64
|
-
- ext/libffi/
|
65
|
-
- ext/libffi/
|
66
|
-
- ext/libffi/
|
67
|
-
- ext/libffi/
|
68
|
-
- ext/libffi/
|
69
|
-
- ext/libffi/
|
70
|
-
- ext/libffi/
|
71
|
-
- ext/libffi/
|
72
|
-
- ext/libffi/
|
73
|
-
- ext/libffi/
|
74
|
-
- ext/libffi/
|
75
|
-
- ext/libffi/
|
76
|
-
- ext/libffi/
|
77
|
-
- ext/libffi/
|
78
|
-
- ext/libffi/
|
79
|
-
- ext/libffi/
|
80
|
-
- ext/libffi/
|
81
|
-
- ext/libffi/
|
82
|
-
- ext/libffi/
|
83
|
-
- ext/libffi/
|
84
|
-
- ext/libffi/
|
85
|
-
- ext/libffi/
|
86
|
-
- ext/libffi/
|
87
|
-
- ext/libffi/
|
88
|
-
- ext/libffi/
|
89
|
-
- ext/libffi/
|
90
|
-
- ext/libffi/
|
91
|
-
- ext/libffi/
|
92
|
-
- ext/libffi/
|
93
|
-
- ext/libffi/
|
94
|
-
- ext/libffi/
|
95
|
-
- ext/libffi/
|
96
|
-
- ext/libffi/
|
97
|
-
- ext/libffi/
|
98
|
-
- ext/libffi/
|
99
|
-
- ext/libffi/
|
100
|
-
- ext/libffi/
|
101
|
-
- ext/libffi/
|
102
|
-
- ext/libffi/
|
103
|
-
- ext/libffi/
|
104
|
-
- ext/libffi/
|
105
|
-
- ext/libffi/src
|
106
|
-
- ext/libffi/src/
|
107
|
-
- ext/libffi/src/
|
108
|
-
- ext/libffi/src/
|
109
|
-
- ext/libffi/src/
|
110
|
-
- ext/libffi/src/
|
111
|
-
- ext/libffi/src/
|
112
|
-
- ext/libffi/src/
|
113
|
-
- ext/libffi/src/
|
114
|
-
- ext/libffi/src/
|
115
|
-
- ext/libffi/src/
|
116
|
-
- ext/libffi/src/
|
117
|
-
- ext/libffi/src/
|
118
|
-
- ext/libffi/src/
|
119
|
-
- ext/libffi/src/
|
120
|
-
- ext/libffi/src/
|
121
|
-
- ext/libffi/src/
|
122
|
-
- ext/libffi/src/
|
123
|
-
- ext/libffi/src/
|
124
|
-
- ext/libffi/src/frv
|
125
|
-
- ext/libffi/src/
|
126
|
-
- ext/libffi/src/
|
127
|
-
- ext/libffi/src/
|
128
|
-
- ext/libffi/src/
|
129
|
-
- ext/libffi/src/
|
130
|
-
- ext/libffi/src/
|
131
|
-
- ext/libffi/src/
|
132
|
-
- ext/libffi/src/m32r
|
133
|
-
- ext/libffi/src/m32r/
|
134
|
-
- ext/libffi/src/m32r/
|
135
|
-
- ext/libffi/src/
|
136
|
-
- ext/libffi/src/
|
137
|
-
- ext/libffi/src/
|
138
|
-
- ext/libffi/src/
|
139
|
-
- ext/libffi/src/
|
140
|
-
- ext/libffi/src/
|
141
|
-
- ext/libffi/src/
|
142
|
-
- ext/libffi/src/
|
143
|
-
- ext/libffi/src/
|
144
|
-
- ext/libffi/src/
|
145
|
-
- ext/libffi/src/
|
146
|
-
- ext/libffi/src/
|
147
|
-
- ext/libffi/src/
|
148
|
-
- ext/libffi/src/
|
149
|
-
- ext/libffi/src/
|
150
|
-
- ext/libffi/src/
|
151
|
-
- ext/libffi/src/
|
152
|
-
- ext/libffi/src/
|
153
|
-
- ext/libffi/src/
|
154
|
-
- ext/libffi/src/
|
155
|
-
- ext/libffi/src/
|
156
|
-
- ext/libffi/src/
|
157
|
-
- ext/libffi/src/
|
158
|
-
- ext/libffi/src/
|
159
|
-
- ext/libffi/
|
160
|
-
- ext/libffi/
|
161
|
-
- ext/libffi/
|
162
|
-
- ext/libffi/
|
163
|
-
- ext/libffi/
|
164
|
-
- ext/libffi/
|
165
|
-
- ext/libffi/
|
166
|
-
- ext/libffi/
|
167
|
-
- ext/libffi/
|
168
|
-
- ext/libffi/
|
169
|
-
- ext/libffi/
|
170
|
-
- ext/libffi/
|
171
|
-
- ext/libffi/
|
172
|
-
- ext/libffi/
|
173
|
-
- ext/libffi/
|
174
|
-
- ext/libffi/
|
175
|
-
- ext/libffi/
|
176
|
-
- ext/libffi/
|
177
|
-
- ext/libffi/
|
178
|
-
- ext/libffi/
|
179
|
-
- ext/libffi/
|
180
|
-
- ext/libffi/
|
181
|
-
- ext/libffi/
|
182
|
-
- ext/libffi/
|
183
|
-
- ext/libffi/
|
184
|
-
- ext/libffi/
|
185
|
-
- ext/libffi/
|
186
|
-
- ext/libffi/
|
187
|
-
- ext/libffi/
|
188
|
-
- ext/libffi/
|
189
|
-
- ext/libffi/
|
190
|
-
- ext/libffi/
|
191
|
-
- ext/libffi/
|
192
|
-
- ext/libffi/testsuite
|
193
|
-
- ext/libffi/testsuite/
|
194
|
-
- ext/libffi/testsuite/
|
195
|
-
- ext/libffi/testsuite/
|
196
|
-
- ext/libffi/testsuite/
|
197
|
-
- ext/libffi/testsuite/
|
198
|
-
- ext/libffi/testsuite/libffi.
|
199
|
-
- ext/libffi/testsuite/
|
200
|
-
- ext/libffi/testsuite/
|
201
|
-
- ext/libffi/testsuite/libffi.call
|
202
|
-
- ext/libffi/testsuite/libffi.call/
|
203
|
-
- ext/libffi/testsuite/libffi.call/
|
204
|
-
- ext/libffi/testsuite/libffi.call/
|
205
|
-
- ext/libffi/testsuite/libffi.call/
|
206
|
-
- ext/libffi/testsuite/libffi.call/
|
207
|
-
- ext/libffi/testsuite/libffi.call/
|
208
|
-
- ext/libffi/testsuite/libffi.call/
|
209
|
-
- ext/libffi/testsuite/libffi.call/
|
210
|
-
- ext/libffi/testsuite/libffi.call/
|
211
|
-
- ext/libffi/testsuite/libffi.call/
|
212
|
-
- ext/libffi/testsuite/libffi.call/
|
213
|
-
- ext/libffi/testsuite/libffi.call/
|
214
|
-
- ext/libffi/testsuite/libffi.call/
|
215
|
-
- ext/libffi/testsuite/libffi.call/
|
216
|
-
- ext/libffi/testsuite/libffi.call/
|
217
|
-
- ext/libffi/testsuite/libffi.call/
|
218
|
-
- ext/libffi/testsuite/libffi.call/
|
219
|
-
- ext/libffi/testsuite/libffi.call/
|
220
|
-
- ext/libffi/testsuite/libffi.call/
|
221
|
-
- ext/libffi/testsuite/libffi.call/
|
222
|
-
- ext/libffi/testsuite/libffi.call/
|
223
|
-
- ext/libffi/testsuite/libffi.call/
|
224
|
-
- ext/libffi/testsuite/libffi.call/
|
225
|
-
- ext/libffi/testsuite/libffi.call/
|
226
|
-
- ext/libffi/testsuite/libffi.call/
|
227
|
-
- ext/libffi/testsuite/libffi.call/
|
228
|
-
- ext/libffi/testsuite/libffi.call/
|
229
|
-
- ext/libffi/testsuite/libffi.call/
|
230
|
-
- ext/libffi/testsuite/libffi.call/
|
231
|
-
- ext/libffi/testsuite/libffi.call/
|
232
|
-
- ext/libffi/testsuite/libffi.call/
|
233
|
-
- ext/libffi/testsuite/libffi.call/
|
234
|
-
- ext/libffi/testsuite/libffi.call/
|
235
|
-
- ext/libffi/testsuite/libffi.call/
|
236
|
-
- ext/libffi/testsuite/libffi.call/
|
237
|
-
- ext/libffi/testsuite/libffi.call/
|
238
|
-
- ext/libffi/testsuite/libffi.call/
|
239
|
-
- ext/libffi/testsuite/libffi.call/
|
240
|
-
- ext/libffi/testsuite/libffi.call/
|
241
|
-
- ext/libffi/testsuite/libffi.call/
|
242
|
-
- ext/libffi/testsuite/libffi.call/
|
243
|
-
- ext/libffi/testsuite/libffi.call/
|
244
|
-
- ext/libffi/testsuite/libffi.call/
|
245
|
-
- ext/libffi/testsuite/libffi.call/
|
246
|
-
- ext/libffi/testsuite/libffi.call/
|
247
|
-
- ext/libffi/testsuite/libffi.call/
|
248
|
-
- ext/libffi/testsuite/libffi.call/
|
249
|
-
- ext/libffi/testsuite/libffi.call/
|
250
|
-
- ext/libffi/testsuite/libffi.call/
|
251
|
-
- ext/libffi/testsuite/libffi.call/
|
252
|
-
- ext/libffi/testsuite/libffi.call/
|
253
|
-
- ext/libffi/testsuite/libffi.call/
|
254
|
-
- ext/libffi/testsuite/libffi.call/
|
255
|
-
- ext/libffi/testsuite/libffi.call/
|
256
|
-
- ext/libffi/testsuite/libffi.call/
|
257
|
-
- ext/libffi/testsuite/libffi.call/
|
258
|
-
- ext/libffi/testsuite/libffi.call/
|
259
|
-
- ext/libffi/testsuite/libffi.call/
|
260
|
-
- ext/libffi/testsuite/libffi.call/
|
261
|
-
- ext/libffi/testsuite/libffi.call/
|
262
|
-
- ext/libffi/testsuite/libffi.call/
|
263
|
-
- ext/libffi/testsuite/libffi.call/
|
264
|
-
- ext/libffi/testsuite/libffi.call/
|
265
|
-
- ext/libffi/testsuite/libffi.call/
|
266
|
-
- ext/libffi/testsuite/libffi.call/
|
267
|
-
- ext/libffi/testsuite/libffi.call/
|
268
|
-
- ext/libffi/testsuite/libffi.call/
|
269
|
-
- ext/libffi/testsuite/libffi.call/
|
270
|
-
- ext/libffi/testsuite/libffi.call/
|
271
|
-
- ext/libffi/testsuite/libffi.call/
|
272
|
-
- ext/libffi/testsuite/libffi.call/
|
273
|
-
- ext/libffi/testsuite/libffi.call/
|
274
|
-
- ext/libffi/testsuite/libffi.call/
|
275
|
-
- ext/libffi/testsuite/libffi.call/
|
276
|
-
- ext/libffi/testsuite/libffi.call/
|
277
|
-
- ext/libffi/testsuite/libffi.call/
|
278
|
-
- ext/libffi/testsuite/libffi.call/
|
279
|
-
- ext/libffi/testsuite/libffi.call/
|
280
|
-
- ext/libffi/testsuite/libffi.call/
|
281
|
-
- ext/libffi/testsuite/libffi.call/
|
282
|
-
- ext/libffi/testsuite/libffi.call/
|
283
|
-
- ext/libffi/testsuite/libffi.call/
|
284
|
-
- ext/libffi/testsuite/libffi.call/
|
285
|
-
- ext/libffi/testsuite/libffi.call/
|
286
|
-
- ext/libffi/testsuite/libffi.call/
|
287
|
-
- ext/libffi/testsuite/libffi.call/
|
288
|
-
- ext/libffi/
|
289
|
-
- ext/libffi/
|
290
|
-
- ext/libffi/
|
291
|
-
- ext/libffi/
|
292
|
-
- ext/libffi/
|
293
|
-
- ext/libffi/
|
294
|
-
- ext/libffi.
|
295
|
-
- ext/
|
296
|
-
- ext/
|
297
|
-
- ext/
|
298
|
-
- ext/
|
299
|
-
- ext/
|
300
|
-
- ext/
|
301
|
-
- ext/
|
302
|
-
- ext/
|
303
|
-
- ext/
|
304
|
-
- ext/
|
305
|
-
- ext/
|
306
|
-
- ext/
|
307
|
-
- ext/
|
308
|
-
- ext/
|
309
|
-
- ext/
|
310
|
-
- ext/
|
39
|
+
- ext/ffi_c
|
40
|
+
- ext/ffi_c/AbstractMemory.c
|
41
|
+
- ext/ffi_c/AbstractMemory.h
|
42
|
+
- ext/ffi_c/AutoPointer.c
|
43
|
+
- ext/ffi_c/AutoPointer.h
|
44
|
+
- ext/ffi_c/Buffer.c
|
45
|
+
- ext/ffi_c/Callback.c
|
46
|
+
- ext/ffi_c/Callback.h
|
47
|
+
- ext/ffi_c/Invoker.c
|
48
|
+
- ext/ffi_c/MemoryPointer.c
|
49
|
+
- ext/ffi_c/MemoryPointer.h
|
50
|
+
- ext/ffi_c/NativeLibrary.c
|
51
|
+
- ext/ffi_c/NativeLibrary.h
|
52
|
+
- ext/ffi_c/NullPointer.c
|
53
|
+
- ext/ffi_c/Platform.c
|
54
|
+
- ext/ffi_c/Platform.h
|
55
|
+
- ext/ffi_c/Pointer.c
|
56
|
+
- ext/ffi_c/Pointer.h
|
57
|
+
- ext/ffi_c/Struct.c
|
58
|
+
- ext/ffi_c/Struct.h
|
59
|
+
- ext/ffi_c/Types.c
|
60
|
+
- ext/ffi_c/Types.h
|
61
|
+
- ext/ffi_c/compat.h
|
62
|
+
- ext/ffi_c/extconf.rb
|
63
|
+
- ext/ffi_c/ffi.c
|
64
|
+
- ext/ffi_c/ffi.mk
|
65
|
+
- ext/ffi_c/libffi
|
66
|
+
- ext/ffi_c/libffi.darwin.mk
|
67
|
+
- ext/ffi_c/libffi.mk
|
68
|
+
- ext/ffi_c/libffi/ChangeLog
|
69
|
+
- ext/ffi_c/libffi/ChangeLog.libffi
|
70
|
+
- ext/ffi_c/libffi/ChangeLog.libgcj
|
71
|
+
- ext/ffi_c/libffi/ChangeLog.v1
|
72
|
+
- ext/ffi_c/libffi/LICENSE
|
73
|
+
- ext/ffi_c/libffi/Makefile.am
|
74
|
+
- ext/ffi_c/libffi/Makefile.in
|
75
|
+
- ext/ffi_c/libffi/README
|
76
|
+
- ext/ffi_c/libffi/TODO
|
77
|
+
- ext/ffi_c/libffi/acinclude.m4
|
78
|
+
- ext/ffi_c/libffi/aclocal.m4
|
79
|
+
- ext/ffi_c/libffi/compile
|
80
|
+
- ext/ffi_c/libffi/config.guess
|
81
|
+
- ext/ffi_c/libffi/config.sub
|
82
|
+
- ext/ffi_c/libffi/configure
|
83
|
+
- ext/ffi_c/libffi/configure.ac
|
84
|
+
- ext/ffi_c/libffi/configure.host
|
85
|
+
- ext/ffi_c/libffi/depcomp
|
86
|
+
- ext/ffi_c/libffi/doc
|
87
|
+
- ext/ffi_c/libffi/doc/libffi.info
|
88
|
+
- ext/ffi_c/libffi/doc/libffi.texi
|
89
|
+
- ext/ffi_c/libffi/doc/stamp-vti
|
90
|
+
- ext/ffi_c/libffi/doc/version.texi
|
91
|
+
- ext/ffi_c/libffi/fficonfig.h.in
|
92
|
+
- ext/ffi_c/libffi/include
|
93
|
+
- ext/ffi_c/libffi/include/Makefile.am
|
94
|
+
- ext/ffi_c/libffi/include/Makefile.in
|
95
|
+
- ext/ffi_c/libffi/include/ffi.h.in
|
96
|
+
- ext/ffi_c/libffi/include/ffi_common.h
|
97
|
+
- ext/ffi_c/libffi/install-sh
|
98
|
+
- ext/ffi_c/libffi/libffi.pc.in
|
99
|
+
- ext/ffi_c/libffi/libtool-version
|
100
|
+
- ext/ffi_c/libffi/ltcf-c.sh
|
101
|
+
- ext/ffi_c/libffi/ltcf-cxx.sh
|
102
|
+
- ext/ffi_c/libffi/ltcf-gcj.sh
|
103
|
+
- ext/ffi_c/libffi/ltconfig
|
104
|
+
- ext/ffi_c/libffi/ltmain.sh
|
105
|
+
- ext/ffi_c/libffi/man
|
106
|
+
- ext/ffi_c/libffi/man/Makefile.am
|
107
|
+
- ext/ffi_c/libffi/man/Makefile.in
|
108
|
+
- ext/ffi_c/libffi/man/ffi.3
|
109
|
+
- ext/ffi_c/libffi/man/ffi_call.3
|
110
|
+
- ext/ffi_c/libffi/man/ffi_prep_cif.3
|
111
|
+
- ext/ffi_c/libffi/mdate-sh
|
112
|
+
- ext/ffi_c/libffi/missing
|
113
|
+
- ext/ffi_c/libffi/mkinstalldirs
|
114
|
+
- ext/ffi_c/libffi/src
|
115
|
+
- ext/ffi_c/libffi/src/alpha
|
116
|
+
- ext/ffi_c/libffi/src/alpha/ffi.c
|
117
|
+
- ext/ffi_c/libffi/src/alpha/ffitarget.h
|
118
|
+
- ext/ffi_c/libffi/src/alpha/osf.S
|
119
|
+
- ext/ffi_c/libffi/src/arm
|
120
|
+
- ext/ffi_c/libffi/src/arm/ffi.c
|
121
|
+
- ext/ffi_c/libffi/src/arm/ffitarget.h
|
122
|
+
- ext/ffi_c/libffi/src/arm/sysv.S
|
123
|
+
- ext/ffi_c/libffi/src/closures.c
|
124
|
+
- ext/ffi_c/libffi/src/cris
|
125
|
+
- ext/ffi_c/libffi/src/cris/ffi.c
|
126
|
+
- ext/ffi_c/libffi/src/cris/ffitarget.h
|
127
|
+
- ext/ffi_c/libffi/src/cris/sysv.S
|
128
|
+
- ext/ffi_c/libffi/src/debug.c
|
129
|
+
- ext/ffi_c/libffi/src/dlmalloc.c
|
130
|
+
- ext/ffi_c/libffi/src/frv
|
131
|
+
- ext/ffi_c/libffi/src/frv/eabi.S
|
132
|
+
- ext/ffi_c/libffi/src/frv/ffi.c
|
133
|
+
- ext/ffi_c/libffi/src/frv/ffitarget.h
|
134
|
+
- ext/ffi_c/libffi/src/ia64
|
135
|
+
- ext/ffi_c/libffi/src/ia64/ffi.c
|
136
|
+
- ext/ffi_c/libffi/src/ia64/ffitarget.h
|
137
|
+
- ext/ffi_c/libffi/src/ia64/ia64_flags.h
|
138
|
+
- ext/ffi_c/libffi/src/ia64/unix.S
|
139
|
+
- ext/ffi_c/libffi/src/java_raw_api.c
|
140
|
+
- ext/ffi_c/libffi/src/m32r
|
141
|
+
- ext/ffi_c/libffi/src/m32r/ffi.c
|
142
|
+
- ext/ffi_c/libffi/src/m32r/ffitarget.h
|
143
|
+
- ext/ffi_c/libffi/src/m32r/sysv.S
|
144
|
+
- ext/ffi_c/libffi/src/m68k
|
145
|
+
- ext/ffi_c/libffi/src/m68k/ffi.c
|
146
|
+
- ext/ffi_c/libffi/src/m68k/ffitarget.h
|
147
|
+
- ext/ffi_c/libffi/src/m68k/sysv.S
|
148
|
+
- ext/ffi_c/libffi/src/mips
|
149
|
+
- ext/ffi_c/libffi/src/mips/ffi.c
|
150
|
+
- ext/ffi_c/libffi/src/mips/ffitarget.h
|
151
|
+
- ext/ffi_c/libffi/src/mips/n32.S
|
152
|
+
- ext/ffi_c/libffi/src/mips/o32.S
|
153
|
+
- ext/ffi_c/libffi/src/pa
|
154
|
+
- ext/ffi_c/libffi/src/pa/ffi.c
|
155
|
+
- ext/ffi_c/libffi/src/pa/ffitarget.h
|
156
|
+
- ext/ffi_c/libffi/src/pa/hpux32.S
|
157
|
+
- ext/ffi_c/libffi/src/pa/linux.S
|
158
|
+
- ext/ffi_c/libffi/src/powerpc
|
159
|
+
- ext/ffi_c/libffi/src/powerpc/aix.S
|
160
|
+
- ext/ffi_c/libffi/src/powerpc/aix_closure.S
|
161
|
+
- ext/ffi_c/libffi/src/powerpc/asm.h
|
162
|
+
- ext/ffi_c/libffi/src/powerpc/darwin.S
|
163
|
+
- ext/ffi_c/libffi/src/powerpc/darwin_closure.S
|
164
|
+
- ext/ffi_c/libffi/src/powerpc/ffi.c
|
165
|
+
- ext/ffi_c/libffi/src/powerpc/ffi_darwin.c
|
166
|
+
- ext/ffi_c/libffi/src/powerpc/ffitarget.h
|
167
|
+
- ext/ffi_c/libffi/src/powerpc/linux64.S
|
168
|
+
- ext/ffi_c/libffi/src/powerpc/linux64_closure.S
|
169
|
+
- ext/ffi_c/libffi/src/powerpc/ppc_closure.S
|
170
|
+
- ext/ffi_c/libffi/src/powerpc/sysv.S
|
171
|
+
- ext/ffi_c/libffi/src/prep_cif.c
|
172
|
+
- ext/ffi_c/libffi/src/raw_api.c
|
173
|
+
- ext/ffi_c/libffi/src/s390
|
174
|
+
- ext/ffi_c/libffi/src/s390/ffi.c
|
175
|
+
- ext/ffi_c/libffi/src/s390/ffitarget.h
|
176
|
+
- ext/ffi_c/libffi/src/s390/sysv.S
|
177
|
+
- ext/ffi_c/libffi/src/sh
|
178
|
+
- ext/ffi_c/libffi/src/sh/ffi.c
|
179
|
+
- ext/ffi_c/libffi/src/sh/ffitarget.h
|
180
|
+
- ext/ffi_c/libffi/src/sh/sysv.S
|
181
|
+
- ext/ffi_c/libffi/src/sh64
|
182
|
+
- ext/ffi_c/libffi/src/sh64/ffi.c
|
183
|
+
- ext/ffi_c/libffi/src/sh64/ffitarget.h
|
184
|
+
- ext/ffi_c/libffi/src/sh64/sysv.S
|
185
|
+
- ext/ffi_c/libffi/src/sparc
|
186
|
+
- ext/ffi_c/libffi/src/sparc/ffi.c
|
187
|
+
- ext/ffi_c/libffi/src/sparc/ffitarget.h
|
188
|
+
- ext/ffi_c/libffi/src/sparc/v8.S
|
189
|
+
- ext/ffi_c/libffi/src/sparc/v9.S
|
190
|
+
- ext/ffi_c/libffi/src/types.c
|
191
|
+
- ext/ffi_c/libffi/src/x86
|
192
|
+
- ext/ffi_c/libffi/src/x86/darwin.S
|
193
|
+
- ext/ffi_c/libffi/src/x86/darwin64.S
|
194
|
+
- ext/ffi_c/libffi/src/x86/ffi.c
|
195
|
+
- ext/ffi_c/libffi/src/x86/ffi64.c
|
196
|
+
- ext/ffi_c/libffi/src/x86/ffitarget.h
|
197
|
+
- ext/ffi_c/libffi/src/x86/freebsd.S
|
198
|
+
- ext/ffi_c/libffi/src/x86/sysv.S
|
199
|
+
- ext/ffi_c/libffi/src/x86/unix64.S
|
200
|
+
- ext/ffi_c/libffi/src/x86/win32.S
|
201
|
+
- ext/ffi_c/libffi/testsuite
|
202
|
+
- ext/ffi_c/libffi/testsuite/Makefile.am
|
203
|
+
- ext/ffi_c/libffi/testsuite/Makefile.in
|
204
|
+
- ext/ffi_c/libffi/testsuite/config
|
205
|
+
- ext/ffi_c/libffi/testsuite/config/default.exp
|
206
|
+
- ext/ffi_c/libffi/testsuite/lib
|
207
|
+
- ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp
|
208
|
+
- ext/ffi_c/libffi/testsuite/lib/target-libpath.exp
|
209
|
+
- ext/ffi_c/libffi/testsuite/lib/wrapper.exp
|
210
|
+
- ext/ffi_c/libffi/testsuite/libffi.call
|
211
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/call.exp
|
212
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c
|
213
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c
|
214
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c
|
215
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c
|
216
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c
|
217
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c
|
218
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c
|
219
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/closure_stdcall.c
|
220
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c
|
221
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c
|
222
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c
|
223
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c
|
224
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c
|
225
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c
|
226
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c
|
227
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c
|
228
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c
|
229
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c
|
230
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c
|
231
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c
|
232
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c
|
233
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c
|
234
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c
|
235
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c
|
236
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c
|
237
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c
|
238
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c
|
239
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c
|
240
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c
|
241
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c
|
242
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c
|
243
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c
|
244
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c
|
245
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c
|
246
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c
|
247
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c
|
248
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c
|
249
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c
|
250
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c
|
251
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c
|
252
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c
|
253
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c
|
254
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c
|
255
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c
|
256
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c
|
257
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c
|
258
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c
|
259
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c
|
260
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c
|
261
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c
|
262
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c
|
263
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c
|
264
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c
|
265
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c
|
266
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c
|
267
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c
|
268
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c
|
269
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h
|
270
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/float.c
|
271
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/float1.c
|
272
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/float2.c
|
273
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/float3.c
|
274
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/float4.c
|
275
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/many.c
|
276
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/many_win32.c
|
277
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/negint.c
|
278
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c
|
279
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c
|
280
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c
|
281
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c
|
282
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c
|
283
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c
|
284
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c
|
285
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c
|
286
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c
|
287
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c
|
288
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c
|
289
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/problem1.c
|
290
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/promotion.c
|
291
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c
|
292
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c
|
293
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c
|
294
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c
|
295
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c
|
296
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c
|
297
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c
|
298
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c
|
299
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c
|
300
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c
|
301
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c
|
302
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c
|
303
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c
|
304
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c
|
305
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c
|
306
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/strlen.c
|
307
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/strlen_win32.c
|
308
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/struct1.c
|
309
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/struct2.c
|
310
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/struct3.c
|
311
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/struct4.c
|
312
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/struct5.c
|
313
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/struct6.c
|
314
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/struct7.c
|
315
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/struct8.c
|
316
|
+
- ext/ffi_c/libffi/testsuite/libffi.call/struct9.c
|
317
|
+
- ext/ffi_c/libffi/testsuite/libffi.special
|
318
|
+
- ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h
|
319
|
+
- ext/ffi_c/libffi/testsuite/libffi.special/special.exp
|
320
|
+
- ext/ffi_c/libffi/testsuite/libffi.special/unwindtest.cc
|
321
|
+
- ext/ffi_c/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc
|
322
|
+
- ext/ffi_c/libffi/texinfo.tex
|
323
|
+
- ext/ffi_c/rbffi.h
|
311
324
|
- lib/ffi
|
312
|
-
- lib/ffi
|
325
|
+
- lib/ffi.rb
|
326
|
+
- lib/ffi/autopointer.rb
|
327
|
+
- lib/ffi/buffer.rb
|
313
328
|
- lib/ffi/callback.rb
|
314
|
-
- lib/ffi/
|
329
|
+
- lib/ffi/errno.rb
|
330
|
+
- lib/ffi/ffi.rb
|
331
|
+
- lib/ffi/io.rb
|
332
|
+
- lib/ffi/library.rb
|
315
333
|
- lib/ffi/managedstruct.rb
|
334
|
+
- lib/ffi/memorypointer.rb
|
316
335
|
- lib/ffi/platform.rb
|
336
|
+
- lib/ffi/pointer.rb
|
337
|
+
- lib/ffi/struct.rb
|
317
338
|
- lib/ffi/tools
|
318
|
-
- lib/ffi/tools/
|
339
|
+
- lib/ffi/tools/const_generator.rb
|
319
340
|
- lib/ffi/tools/generator.rb
|
320
|
-
- lib/ffi/tools/
|
341
|
+
- lib/ffi/tools/generator_task.rb
|
321
342
|
- lib/ffi/tools/struct_generator.rb
|
322
|
-
- lib/ffi/tools/
|
323
|
-
- lib/ffi/autopointer.rb
|
324
|
-
- lib/ffi/library.rb
|
343
|
+
- lib/ffi/tools/types_generator.rb
|
325
344
|
- lib/ffi/types.rb
|
326
|
-
- lib/ffi/
|
327
|
-
- lib/ffi/io.rb
|
328
|
-
- lib/ffi/memorypointer.rb
|
329
|
-
- lib/ffi/buffer.rb
|
330
|
-
- lib/ffi/ffi.rb
|
345
|
+
- lib/ffi/union.rb
|
331
346
|
- lib/ffi/variadic.rb
|
332
|
-
-
|
347
|
+
- nbproject/Makefile-Default.mk
|
333
348
|
- nbproject/Makefile-impl.mk
|
349
|
+
- nbproject/Package-Default.bash
|
350
|
+
- nbproject/configurations.xml
|
334
351
|
- nbproject/private
|
335
|
-
- nbproject/private/private.xml
|
336
352
|
- nbproject/private/configurations.xml
|
353
|
+
- nbproject/private/private.xml
|
337
354
|
- nbproject/project.properties
|
338
|
-
- nbproject/Makefile-Default.mk
|
339
355
|
- nbproject/project.xml
|
340
|
-
- nbproject/Package-Default.bash
|
341
|
-
- nbproject/configurations.xml
|
342
|
-
- samples/pty.rb
|
343
356
|
- samples/getlogin.rb
|
344
|
-
- samples/qsort.rb
|
345
|
-
- samples/inotify.rb
|
346
|
-
- samples/hello.rb
|
347
357
|
- samples/getpid.rb
|
348
358
|
- samples/gettimeofday.rb
|
349
|
-
-
|
350
|
-
-
|
351
|
-
-
|
352
|
-
-
|
353
|
-
-
|
354
|
-
-
|
355
|
-
-
|
356
|
-
-
|
357
|
-
-
|
358
|
-
-
|
359
|
-
-
|
360
|
-
-
|
361
|
-
-
|
362
|
-
-
|
363
|
-
-
|
364
|
-
-
|
365
|
-
-
|
359
|
+
- samples/hello.rb
|
360
|
+
- samples/inotify.rb
|
361
|
+
- samples/pty.rb
|
362
|
+
- samples/qsort.rb
|
363
|
+
- samples/sample_helper.rb
|
364
|
+
- spec/ffi
|
365
|
+
- spec/ffi/buffer_spec.rb
|
366
|
+
- spec/ffi/callback_spec.rb
|
367
|
+
- spec/ffi/errno_spec.rb
|
368
|
+
- spec/ffi/library_spec.rb
|
369
|
+
- spec/ffi/managed_struct_spec.rb
|
370
|
+
- spec/ffi/number_spec.rb
|
371
|
+
- spec/ffi/pointer_spec.rb
|
372
|
+
- spec/ffi/rbx
|
373
|
+
- spec/ffi/rbx/attach_function_spec.rb
|
374
|
+
- spec/ffi/rbx/memory_pointer_spec.rb
|
375
|
+
- spec/ffi/rbx/spec_helper.rb
|
376
|
+
- spec/ffi/rbx/struct_spec.rb
|
377
|
+
- spec/ffi/spec_helper.rb
|
378
|
+
- spec/ffi/string_spec.rb
|
379
|
+
- spec/ffi/struct_spec.rb
|
380
|
+
- spec/ffi/typedef_spec.rb
|
381
|
+
- spec/ffi/union_spec.rb
|
382
|
+
- spec/ffi/variadic_spec.rb
|
383
|
+
- spec/spec.opts
|
366
384
|
has_rdoc: true
|
367
385
|
homepage: http://kenai.com/projects/ruby-ffi
|
368
386
|
post_install_message:
|
369
|
-
rdoc_options:
|
370
|
-
|
387
|
+
rdoc_options:
|
388
|
+
- -x
|
389
|
+
- ext
|
390
|
+
- --main
|
391
|
+
- README.rdoc
|
371
392
|
require_paths:
|
372
393
|
- lib
|
394
|
+
- ext
|
373
395
|
required_ruby_version: !ruby/object:Gem::Requirement
|
374
396
|
requirements:
|
375
397
|
- - ">="
|
@@ -385,9 +407,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
385
407
|
requirements: []
|
386
408
|
|
387
409
|
rubyforge_project: ffi
|
388
|
-
rubygems_version: 1.
|
410
|
+
rubygems_version: 1.3.1
|
389
411
|
signing_key:
|
390
412
|
specification_version: 2
|
391
|
-
summary: A Ruby foreign function interface
|
413
|
+
summary: A Ruby foreign function interface
|
392
414
|
test_files: []
|
393
415
|
|