ffi 1.1.0.rc4 → 1.1.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/Rakefile
CHANGED
@@ -74,7 +74,7 @@ PROJ.name = 'ffi'
|
|
74
74
|
PROJ.authors = 'Wayne Meissner'
|
75
75
|
PROJ.email = 'wmeissner@gmail.com'
|
76
76
|
PROJ.url = 'http://wiki.github.com/ffi/ffi'
|
77
|
-
PROJ.version = '1.1.0
|
77
|
+
PROJ.version = '1.1.0'
|
78
78
|
PROJ.rubyforge.name = 'ffi'
|
79
79
|
PROJ.readme_file = 'README.rdoc'
|
80
80
|
|
data/ext/ffi_c/extconf.rb
CHANGED
@@ -7,7 +7,7 @@ if !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby"
|
|
7
7
|
|
8
8
|
if ENV['RUBY_CC_VERSION'].nil? && (pkg_config("libffi") ||
|
9
9
|
have_header("ffi.h") ||
|
10
|
-
find_header("ffi.h", "/usr/local/include"))
|
10
|
+
find_header("ffi.h", "/usr/local/include", "/usr/include/ffi"))
|
11
11
|
|
12
12
|
# We need at least ffi_call and ffi_prep_closure
|
13
13
|
libffi_ok = have_library("ffi", "ffi_call", [ "ffi.h" ]) ||
|
@@ -15,6 +15,8 @@ rbx.platform.typedef.__u_quad_t = ulong_long
|
|
15
15
|
rbx.platform.typedef.__dev_t = ulong_long
|
16
16
|
rbx.platform.typedef.__uid_t = uint
|
17
17
|
rbx.platform.typedef.__gid_t = uint
|
18
|
+
rbx.platform.typedef.__in_addr_t = uint
|
19
|
+
rbx.platform.typedef.__in_port_t = ushort
|
18
20
|
rbx.platform.typedef.__ino_t = ulong
|
19
21
|
rbx.platform.typedef.__ino64_t = ulong_long
|
20
22
|
rbx.platform.typedef.__mode_t = uint
|
@@ -34,6 +34,7 @@ rbx.platform.typedef.__swblk_t = long
|
|
34
34
|
rbx.platform.typedef.__key_t = int
|
35
35
|
rbx.platform.typedef.__clockid_t = int
|
36
36
|
rbx.platform.typedef.__timer_t = pointer
|
37
|
+
rbx.platform.typedef.blksize_t = long
|
37
38
|
rbx.platform.typedef.__blksize_t = long
|
38
39
|
rbx.platform.typedef.__blkcnt_t = long
|
39
40
|
rbx.platform.typedef.__blkcnt64_t = long_long
|
@@ -57,6 +58,8 @@ rbx.platform.typedef.loff_t = long_long
|
|
57
58
|
rbx.platform.typedef.ino_t = ulong_long
|
58
59
|
rbx.platform.typedef.dev_t = ulong_long
|
59
60
|
rbx.platform.typedef.gid_t = uint
|
61
|
+
rbx.platform.typedef.in_addr_t = uint
|
62
|
+
rbx.platform.typedef.in_port_t = ushort
|
60
63
|
rbx.platform.typedef.mode_t = uint
|
61
64
|
rbx.platform.typedef.nlink_t = uint
|
62
65
|
rbx.platform.typedef.uid_t = uint
|
@@ -15,6 +15,8 @@ rbx.platform.typedef.__u_quad_t = ulong
|
|
15
15
|
rbx.platform.typedef.__dev_t = ulong
|
16
16
|
rbx.platform.typedef.__uid_t = uint
|
17
17
|
rbx.platform.typedef.__gid_t = uint
|
18
|
+
rbx.platform.typedef.__in_addr_t = uint
|
19
|
+
rbx.platform.typedef.__in_port_t = ushort
|
18
20
|
rbx.platform.typedef.__ino_t = ulong
|
19
21
|
rbx.platform.typedef.__ino64_t = ulong
|
20
22
|
rbx.platform.typedef.__mode_t = uint
|
@@ -34,7 +34,7 @@ rbx.platform.typedef.__swblk_t = long
|
|
34
34
|
rbx.platform.typedef.__key_t = int
|
35
35
|
rbx.platform.typedef.__clockid_t = int
|
36
36
|
rbx.platform.typedef.__timer_t = pointer
|
37
|
-
rbx.platform.typedef.
|
37
|
+
rbx.platform.typedef.blksize_t = long
|
38
38
|
rbx.platform.typedef.__blkcnt_t = long
|
39
39
|
rbx.platform.typedef.__blkcnt64_t = long
|
40
40
|
rbx.platform.typedef.__fsblkcnt_t = ulong
|
@@ -57,6 +57,8 @@ rbx.platform.typedef.loff_t = long
|
|
57
57
|
rbx.platform.typedef.ino_t = ulong
|
58
58
|
rbx.platform.typedef.dev_t = ulong
|
59
59
|
rbx.platform.typedef.gid_t = uint
|
60
|
+
rbx.platform.typedef.in_addr_t = uint
|
61
|
+
rbx.platform.typedef.in_port_t = ushort
|
60
62
|
rbx.platform.typedef.mode_t = uint
|
61
63
|
rbx.platform.typedef.nlink_t = ulong
|
62
64
|
rbx.platform.typedef.uid_t = uint
|
data/lib/ffi_c.bundle
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,30 +1,35 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 1.1.0
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- Wayne Meissner
|
9
13
|
autorequire:
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
|
-
|
16
|
+
|
17
|
+
date: 2012-07-18 00:00:00 +10:00
|
18
|
+
default_executable:
|
13
19
|
dependencies: []
|
14
|
-
description: ! 'Ruby-FFI is a ruby extension for programmatically loading dynamic
|
15
20
|
|
21
|
+
description: |-
|
22
|
+
Ruby-FFI is a ruby extension for programmatically loading dynamic
|
16
23
|
libraries, binding functions within them, and calling those functions
|
17
|
-
|
18
24
|
from Ruby code. Moreover, a Ruby-FFI extension works without changes
|
19
|
-
|
20
25
|
on Ruby and JRuby. Discover why should you write your next extension
|
21
|
-
|
22
|
-
using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi].'
|
26
|
+
using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi].
|
23
27
|
email: wmeissner@gmail.com
|
24
28
|
executables: []
|
25
|
-
|
29
|
+
|
30
|
+
extensions:
|
26
31
|
- ext/ffi_c/extconf.rb
|
27
|
-
extra_rdoc_files:
|
32
|
+
extra_rdoc_files:
|
28
33
|
- History.txt
|
29
34
|
- README.rdoc
|
30
35
|
- lib/ffi/platform/arm-linux/types.conf
|
@@ -54,7 +59,7 @@ extra_rdoc_files:
|
|
54
59
|
- lib/ffi/platform/x86_64-openbsd/types.conf
|
55
60
|
- lib/ffi/platform/x86_64-solaris/types.conf
|
56
61
|
- lib/ffi_c.bundle
|
57
|
-
files:
|
62
|
+
files:
|
58
63
|
- History.txt
|
59
64
|
- LICENSE
|
60
65
|
- README.rdoc
|
@@ -480,34 +485,39 @@ files:
|
|
480
485
|
- tasks/svn.rake
|
481
486
|
- tasks/test.rake
|
482
487
|
- tasks/yard.rake
|
488
|
+
has_rdoc: true
|
483
489
|
homepage: http://wiki.github.com/ffi/ffi
|
484
490
|
licenses: []
|
491
|
+
|
485
492
|
post_install_message:
|
486
|
-
rdoc_options:
|
493
|
+
rdoc_options:
|
487
494
|
- -x
|
488
495
|
- ext
|
489
496
|
- --main
|
490
497
|
- README.rdoc
|
491
|
-
require_paths:
|
498
|
+
require_paths:
|
492
499
|
- lib
|
493
500
|
- ext
|
494
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
requirements:
|
503
|
-
- -
|
504
|
-
- !ruby/object:Gem::Version
|
505
|
-
|
501
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
502
|
+
requirements:
|
503
|
+
- - ">="
|
504
|
+
- !ruby/object:Gem::Version
|
505
|
+
segments:
|
506
|
+
- 0
|
507
|
+
version: "0"
|
508
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
509
|
+
requirements:
|
510
|
+
- - ">="
|
511
|
+
- !ruby/object:Gem::Version
|
512
|
+
segments:
|
513
|
+
- 0
|
514
|
+
version: "0"
|
506
515
|
requirements: []
|
516
|
+
|
507
517
|
rubyforge_project: ffi
|
508
|
-
rubygems_version: 1.
|
518
|
+
rubygems_version: 1.3.6
|
509
519
|
signing_key:
|
510
520
|
specification_version: 3
|
511
|
-
summary: Ruby-FFI is a ruby extension for programmatically loading dynamic libraries,
|
512
|
-
binding functions within them, and calling those functions from Ruby code
|
521
|
+
summary: Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code
|
513
522
|
test_files: []
|
523
|
+
|