You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
38 KiB
119 lines
38 KiB
10 years ago
|
--- /dev/null
|
||
|
+++ b/lib/ffi/platform/aarch64-linux/types.conf
|
||
|
@@ -0,0 +1,104 @@
|
||
|
+rbx.platform.typedef.__u_char = uchar
|
||
|
+rbx.platform.typedef.__u_short = ushort
|
||
|
+rbx.platform.typedef.__u_int = uint
|
||
|
+rbx.platform.typedef.__u_long = ulong
|
||
|
+rbx.platform.typedef.__int8_t = char
|
||
|
+rbx.platform.typedef.__uint8_t = uchar
|
||
|
+rbx.platform.typedef.__int16_t = short
|
||
|
+rbx.platform.typedef.__uint16_t = ushort
|
||
|
+rbx.platform.typedef.__int32_t = int
|
||
|
+rbx.platform.typedef.__uint32_t = uint
|
||
|
+rbx.platform.typedef.__int64_t = long
|
||
|
+rbx.platform.typedef.__uint64_t = ulong
|
||
|
+rbx.platform.typedef.__quad_t = long
|
||
|
+rbx.platform.typedef.__u_quad_t = ulong
|
||
|
+rbx.platform.typedef.__dev_t = ulong
|
||
|
+rbx.platform.typedef.__uid_t = uint
|
||
|
+rbx.platform.typedef.__gid_t = uint
|
||
|
+rbx.platform.typedef.__ino_t = ulong
|
||
|
+rbx.platform.typedef.__ino64_t = ulong
|
||
|
+rbx.platform.typedef.__mode_t = uint
|
||
|
+rbx.platform.typedef.__nlink_t = uint
|
||
|
+rbx.platform.typedef.__off_t = long
|
||
|
+rbx.platform.typedef.__off64_t = long
|
||
|
+rbx.platform.typedef.__pid_t = int
|
||
|
+rbx.platform.typedef.__clock_t = long
|
||
|
+rbx.platform.typedef.__rlim_t = ulong
|
||
|
+rbx.platform.typedef.__rlim64_t = ulong
|
||
|
+rbx.platform.typedef.__id_t = uint
|
||
|
+rbx.platform.typedef.__time_t = long
|
||
|
+rbx.platform.typedef.__useconds_t = uint
|
||
|
+rbx.platform.typedef.__suseconds_t = long
|
||
|
+rbx.platform.typedef.__daddr_t = int
|
||
|
+rbx.platform.typedef.__key_t = int
|
||
|
+rbx.platform.typedef.__clockid_t = int
|
||
|
+rbx.platform.typedef.__timer_t = pointer
|
||
|
+rbx.platform.typedef.__blksize_t = int
|
||
|
+rbx.platform.typedef.__blkcnt_t = long
|
||
|
+rbx.platform.typedef.__blkcnt64_t = long
|
||
|
+rbx.platform.typedef.__fsblkcnt_t = ulong
|
||
|
+rbx.platform.typedef.__fsblkcnt64_t = ulong
|
||
|
+rbx.platform.typedef.__fsfilcnt_t = ulong
|
||
|
+rbx.platform.typedef.__fsfilcnt64_t = ulong
|
||
|
+rbx.platform.typedef.__fsword_t = long
|
||
|
+rbx.platform.typedef.__ssize_t = long
|
||
|
+rbx.platform.typedef.__syscall_slong_t = long
|
||
|
+rbx.platform.typedef.__syscall_ulong_t = ulong
|
||
|
+rbx.platform.typedef.__loff_t = long
|
||
|
+rbx.platform.typedef.*__qaddr_t = long
|
||
|
+rbx.platform.typedef.*__caddr_t = char
|
||
|
+rbx.platform.typedef.__intptr_t = long
|
||
|
+rbx.platform.typedef.__socklen_t = uint
|
||
|
+rbx.platform.typedef.u_char = uchar
|
||
|
+rbx.platform.typedef.u_short = ushort
|
||
|
+rbx.platform.typedef.u_int = uint
|
||
|
+rbx.platform.typedef.u_long = ulong
|
||
|
+rbx.platform.typedef.quad_t = long
|
||
|
+rbx.platform.typedef.u_quad_t = ulong
|
||
|
+rbx.platform.typedef.loff_t = long
|
||
|
+rbx.platform.typedef.ino_t = ulong
|
||
|
+rbx.platform.typedef.dev_t = ulong
|
||
|
+rbx.platform.typedef.gid_t = uint
|
||
|
+rbx.platform.typedef.mode_t = uint
|
||
|
+rbx.platform.typedef.nlink_t = uint
|
||
|
+rbx.platform.typedef.uid_t = uint
|
||
|
+rbx.platform.typedef.off_t = long
|
||
|
+rbx.platform.typedef.pid_t = int
|
||
|
+rbx.platform.typedef.id_t = uint
|
||
|
+rbx.platform.typedef.ssize_t = long
|
||
|
+rbx.platform.typedef.daddr_t = int
|
||
|
+rbx.platform.typedef.key_t = int
|
||
|
+rbx.platform.typedef.clock_t = long
|
||
|
+rbx.platform.typedef.time_t = long
|
||
|
+rbx.platform.typedef.clockid_t = int
|
||
|
+rbx.platform.typedef.timer_t = pointer
|
||
|
+rbx.platform.typedef.size_t = ulong
|
||
|
+rbx.platform.typedef.ulong = ulong
|
||
|
+rbx.platform.typedef.ushort = ushort
|
||
|
+rbx.platform.typedef.uint = uint
|
||
|
+rbx.platform.typedef.int8_t = char
|
||
|
+rbx.platform.typedef.int16_t = short
|
||
|
+rbx.platform.typedef.int32_t = int
|
||
|
+rbx.platform.typedef.int64_t = long_long
|
||
|
+rbx.platform.typedef.u_int8_t = uchar
|
||
|
+rbx.platform.typedef.u_int16_t = ushort
|
||
|
+rbx.platform.typedef.u_int32_t = uint
|
||
|
+rbx.platform.typedef.u_int64_t = ulong_long
|
||
|
+rbx.platform.typedef.register_t = long
|
||
|
+rbx.platform.typedef.__sig_atomic_t = int
|
||
|
+rbx.platform.typedef.suseconds_t = long
|
||
|
+rbx.platform.typedef.__fd_mask = long
|
||
|
+rbx.platform.typedef.fd_mask = long
|
||
|
+rbx.platform.typedef.blksize_t = int
|
||
|
+rbx.platform.typedef.blkcnt_t = long
|
||
|
+rbx.platform.typedef.fsblkcnt_t = ulong
|
||
|
+rbx.platform.typedef.fsfilcnt_t = ulong
|
||
|
+rbx.platform.typedef.pthread_t = ulong
|
||
|
+rbx.platform.typedef.pthread_key_t = uint
|
||
|
+rbx.platform.typedef.pthread_once_t = int
|
||
|
+rbx.platform.typedef.socklen_t = uint
|
||
|
+rbx.platform.typedef.sa_family_t = ushort
|
||
|
+rbx.platform.typedef.rlim_t = ulong
|
||
|
+rbx.platform.typedef.__rlimit_resource_t = int
|
||
|
+rbx.platform.typedef.__rusage_who_t = int
|
||
|
+rbx.platform.typedef.__priority_which_t = int
|
||
|
--- a/ffi.gemspec
|
||
|
+++ b/ffi.gemspec
|
||
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
||
|
s.description = "Ruby FFI library"
|
||
|
s.email = "wmeissner@gmail.com"
|
||
|
s.extensions = ["ext/ffi_c/extconf.rb"]
|
||
|
- s.files = ["COPYING", "LICENSE", "README.md", "Rakefile", "ext/ffi_c/AbstractMemory.c", "ext/ffi_c/AbstractMemory.h", "ext/ffi_c/ArrayType.c", "ext/ffi_c/ArrayType.h", "ext/ffi_c/Buffer.c", "ext/ffi_c/Call.c", "ext/ffi_c/Call.h", "ext/ffi_c/ClosurePool.c", "ext/ffi_c/ClosurePool.h", "ext/ffi_c/DataConverter.c", "ext/ffi_c/DynamicLibrary.c", "ext/ffi_c/DynamicLibrary.h", "ext/ffi_c/Function.c", "ext/ffi_c/Function.h", "ext/ffi_c/FunctionInfo.c", "ext/ffi_c/LastError.c", "ext/ffi_c/LastError.h", "ext/ffi_c/LongDouble.c", "ext/ffi_c/LongDouble.h", "ext/ffi_c/MappedType.c", "ext/ffi_c/MappedType.h", "ext/ffi_c/MemoryPointer.c", "ext/ffi_c/MemoryPointer.h", "ext/ffi_c/MethodHandle.c", "ext/ffi_c/MethodHandle.h", "ext/ffi_c/Platform.c", "ext/ffi_c/Platform.h", "ext/ffi_c/Pointer.c", "ext/ffi_c/Pointer.h", "ext/ffi_c/Struct.c", "ext/ffi_c/Struct.h", "ext/ffi_c/StructByReference.c", "ext/ffi_c/StructByReference.h", "ext/ffi_c/StructByValue.c", "ext/ffi_c/StructByValue.h", "ext/ffi_c/StructLayout.c", "ext/ffi_c/Thread.c", "ext/ffi_c/Thread.h", "ext/ffi_c/Type.c", "ext/ffi_c/Type.h", "ext/ffi_c/Types.c", "ext/ffi_c/Types.h", "ext/ffi_c/Variadic.c", "ext/ffi_c/compat.h", "ext/ffi_c/extconf.rb", "ext/ffi_c/ffi.c", "ext/ffi_c/libffi.bsd.mk", "ext/ffi_c/libffi.darwin.mk", "ext/ffi_c/libffi.gnu.mk", "ext/ffi_c/libffi.mk", "ext/ffi_c/libffi.vc.mk", "ext/ffi_c/libffi.vc64.mk", "ext/ffi_c/libffi/ChangeLog", "ext/ffi_c/libffi/ChangeLog.libffi", "ext/ffi_c/libffi/ChangeLog.libgcj", "ext/ffi_c/libffi/ChangeLog.v1", "ext/ffi_c/libffi/LICENSE", "ext/ffi_c/libffi/Makefile.am", "ext/ffi_c/libffi/Makefile.in", "ext/ffi_c/libffi/Makefile.vc", "ext/ffi_c/libffi/Makefile.vc64", "ext/ffi_c/libffi/README", "ext/ffi_c/libffi/acinclude.m4", "ext/ffi_c/libffi/aclocal.m4", "ext/ffi_c/libffi/build-ios.sh", "ext/ffi_c/libffi/compile", "ext/ffi_c/libffi/config.guess", "ext/ffi_c/libffi/config.sub", "ext/ffi_c/libffi/configure", "ext/ffi_c/libffi/configure.ac", "ext/ffi_c/libffi/configure.host", "ext/ffi_c/libffi/depcomp", "ext/ffi_c/libffi/doc/libffi.info", "ext/ffi_c/libffi/doc/libffi.texi", "ext/ffi_c/libffi/doc/stamp-vti", "ext/ffi_c/libffi/doc/version.texi", "ext/ffi_c/libffi/fficonfig.h.in", "ext/ffi_c/libffi/fficonfig.hw", "ext/ffi_c/libffi/include/Makefile.am", "ext/ffi_c/libffi/include/Makefile.in", "ext/ffi_c/libffi/include/ffi.h.in", "ext/ffi_c/libffi/include/ffi.h.vc", "ext/ffi_c/libffi/include/ffi.h.vc64", "ext/ffi_c/libffi/include/ffi_common.h", "ext/ffi_c/libffi/install-sh", "ext/ffi_c/libffi/libffi.pc.in", "ext/ffi_c/libffi/libtool-version", "ext/ffi_c/libffi/ltmain.sh", "ext/ffi_c/libffi/m4/ax_cc_maxopt.m4", "ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4", "ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4", "ext/ffi_c/libffi/m4/ax_compiler_vendor.m4", "ext/ffi_c/libffi/m4/ax_configure_args.m4", "ext/ffi_c/libffi/m4/ax_enable_builddir.m4", "ext/ffi_c/libffi/m4/ax_gcc_archflag.m4", "ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4", "ext/ffi_c/libffi/m4/libtool.m4", "ext/ffi_c/libffi/m4/ltoptions.m4", "ext/ffi_c/libffi/m4/ltsugar.m4", "ext/ffi_c/libffi/m4/ltversion.m4", "ext/ffi_c/libffi/m4/lt~obsolete.m4", "ext/ffi_c/libffi/man/Makefile.am", "ext/ffi_c/libffi/man/Makefile.in", "ext/ffi_c/libffi/man/ffi.3", "ext/ffi_c/libffi/man/ffi_call.3", "ext/ffi_c/libffi/man/ffi_prep_cif.3", "ext/ffi_c/libffi/mdate-sh", "ext/ffi_c/libffi/missing", "ext/ffi_c/libffi/msvcc.sh", "ext/ffi_c/libffi/src/alpha/ffi.c", "ext/ffi_c/libffi/src/alpha/ffitarget.h", "ext/ffi_c/libffi/src/alpha/osf.S", "ext/ffi_c/libffi/src/arm/ffi.c", "ext/ffi_c/libffi/src/arm/ffitarget.h", "ext/ffi_c/libffi/src/arm/gentramp.sh", "ext/ffi_c/libffi/src/arm/sysv.S", "ext/ffi_c/libffi/src/arm/trampoline.S", "ext/ffi_c/libffi/src/avr32/ffi.c", "ext/ffi_c/libffi/src/avr32/ffitarget.h", "ext/ffi_c/libffi/src/avr32/sysv.S", "ext/ffi_c/libffi/src/closures.c", "ext/ffi_c/libffi/src/cris/ffi.c", "ext/ffi_c/libffi/src/cris/ffitarget.h", "ext/ffi_c/libffi/src/cris/sysv.S", "ext/ffi_c/libffi/src/debug.c", "ext/ffi_c/libffi/src/dlmalloc.c", "ext/ffi_c/libffi/src/frv/eabi.S", "ext/ffi_c/libffi/src/frv/ffi.c", "e
|
||
|
+ s.files = ["COPYING", "LICENSE", "README.md", "Rakefile", "ext/ffi_c/AbstractMemory.c", "ext/ffi_c/AbstractMemory.h", "ext/ffi_c/ArrayType.c", "ext/ffi_c/ArrayType.h", "ext/ffi_c/Buffer.c", "ext/ffi_c/Call.c", "ext/ffi_c/Call.h", "ext/ffi_c/ClosurePool.c", "ext/ffi_c/ClosurePool.h", "ext/ffi_c/DataConverter.c", "ext/ffi_c/DynamicLibrary.c", "ext/ffi_c/DynamicLibrary.h", "ext/ffi_c/Function.c", "ext/ffi_c/Function.h", "ext/ffi_c/FunctionInfo.c", "ext/ffi_c/LastError.c", "ext/ffi_c/LastError.h", "ext/ffi_c/LongDouble.c", "ext/ffi_c/LongDouble.h", "ext/ffi_c/MappedType.c", "ext/ffi_c/MappedType.h", "ext/ffi_c/MemoryPointer.c", "ext/ffi_c/MemoryPointer.h", "ext/ffi_c/MethodHandle.c", "ext/ffi_c/MethodHandle.h", "ext/ffi_c/Platform.c", "ext/ffi_c/Platform.h", "ext/ffi_c/Pointer.c", "ext/ffi_c/Pointer.h", "ext/ffi_c/Struct.c", "ext/ffi_c/Struct.h", "ext/ffi_c/StructByReference.c", "ext/ffi_c/StructByReference.h", "ext/ffi_c/StructByValue.c", "ext/ffi_c/StructByValue.h", "ext/ffi_c/StructLayout.c", "ext/ffi_c/Thread.c", "ext/ffi_c/Thread.h", "ext/ffi_c/Type.c", "ext/ffi_c/Type.h", "ext/ffi_c/Types.c", "ext/ffi_c/Types.h", "ext/ffi_c/Variadic.c", "ext/ffi_c/compat.h", "ext/ffi_c/extconf.rb", "ext/ffi_c/ffi.c", "ext/ffi_c/libffi.bsd.mk", "ext/ffi_c/libffi.darwin.mk", "ext/ffi_c/libffi.gnu.mk", "ext/ffi_c/libffi.mk", "ext/ffi_c/libffi.vc.mk", "ext/ffi_c/libffi.vc64.mk", "ext/ffi_c/libffi/ChangeLog", "ext/ffi_c/libffi/ChangeLog.libffi", "ext/ffi_c/libffi/ChangeLog.libgcj", "ext/ffi_c/libffi/ChangeLog.v1", "ext/ffi_c/libffi/LICENSE", "ext/ffi_c/libffi/Makefile.am", "ext/ffi_c/libffi/Makefile.in", "ext/ffi_c/libffi/Makefile.vc", "ext/ffi_c/libffi/Makefile.vc64", "ext/ffi_c/libffi/README", "ext/ffi_c/libffi/acinclude.m4", "ext/ffi_c/libffi/aclocal.m4", "ext/ffi_c/libffi/build-ios.sh", "ext/ffi_c/libffi/compile", "ext/ffi_c/libffi/config.guess", "ext/ffi_c/libffi/config.sub", "ext/ffi_c/libffi/configure", "ext/ffi_c/libffi/configure.ac", "ext/ffi_c/libffi/configure.host", "ext/ffi_c/libffi/depcomp", "ext/ffi_c/libffi/doc/libffi.info", "ext/ffi_c/libffi/doc/libffi.texi", "ext/ffi_c/libffi/doc/stamp-vti", "ext/ffi_c/libffi/doc/version.texi", "ext/ffi_c/libffi/fficonfig.h.in", "ext/ffi_c/libffi/fficonfig.hw", "ext/ffi_c/libffi/include/Makefile.am", "ext/ffi_c/libffi/include/Makefile.in", "ext/ffi_c/libffi/include/ffi.h.in", "ext/ffi_c/libffi/include/ffi.h.vc", "ext/ffi_c/libffi/include/ffi.h.vc64", "ext/ffi_c/libffi/include/ffi_common.h", "ext/ffi_c/libffi/install-sh", "ext/ffi_c/libffi/libffi.pc.in", "ext/ffi_c/libffi/libtool-version", "ext/ffi_c/libffi/ltmain.sh", "ext/ffi_c/libffi/m4/ax_cc_maxopt.m4", "ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4", "ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4", "ext/ffi_c/libffi/m4/ax_compiler_vendor.m4", "ext/ffi_c/libffi/m4/ax_configure_args.m4", "ext/ffi_c/libffi/m4/ax_enable_builddir.m4", "ext/ffi_c/libffi/m4/ax_gcc_archflag.m4", "ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4", "ext/ffi_c/libffi/m4/libtool.m4", "ext/ffi_c/libffi/m4/ltoptions.m4", "ext/ffi_c/libffi/m4/ltsugar.m4", "ext/ffi_c/libffi/m4/ltversion.m4", "ext/ffi_c/libffi/m4/lt~obsolete.m4", "ext/ffi_c/libffi/man/Makefile.am", "ext/ffi_c/libffi/man/Makefile.in", "ext/ffi_c/libffi/man/ffi.3", "ext/ffi_c/libffi/man/ffi_call.3", "ext/ffi_c/libffi/man/ffi_prep_cif.3", "ext/ffi_c/libffi/mdate-sh", "ext/ffi_c/libffi/missing", "ext/ffi_c/libffi/msvcc.sh", "ext/ffi_c/libffi/src/alpha/ffi.c", "ext/ffi_c/libffi/src/alpha/ffitarget.h", "ext/ffi_c/libffi/src/alpha/osf.S", "ext/ffi_c/libffi/src/arm/ffi.c", "ext/ffi_c/libffi/src/arm/ffitarget.h", "ext/ffi_c/libffi/src/arm/gentramp.sh", "ext/ffi_c/libffi/src/arm/sysv.S", "ext/ffi_c/libffi/src/arm/trampoline.S", "ext/ffi_c/libffi/src/avr32/ffi.c", "ext/ffi_c/libffi/src/avr32/ffitarget.h", "ext/ffi_c/libffi/src/avr32/sysv.S", "ext/ffi_c/libffi/src/closures.c", "ext/ffi_c/libffi/src/cris/ffi.c", "ext/ffi_c/libffi/src/cris/ffitarget.h", "ext/ffi_c/libffi/src/cris/sysv.S", "ext/ffi_c/libffi/src/debug.c", "ext/ffi_c/libffi/src/dlmalloc.c", "ext/ffi_c/libffi/src/frv/eabi.S", "ext/ffi_c/libffi/src/frv/ffi.c", "e
|
||
|
s.homepage = "http://wiki.github.com/ffi/ffi"
|
||
|
s.licenses = ["BSD"]
|
||
|
s.rdoc_options = ["--exclude=ext/ffi_c/.*\\.o$", "--exclude=ffi_c\\.(bundle|so)$"]
|