ffi 1.9.23-x64-mingw32 → 1.9.24-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2e70524fed969c2421ed0a3ae80ab511add3e43c2db14ad71f1c45a33767689
4
- data.tar.gz: 6dd7b312613aadd376bb6d975f0788e345a685311427f13332dfbb10f0a7d409
3
+ metadata.gz: 5a969ff355be095fd84faa32e799e8ae9fb3ce1d3487d26c067c01119729914b
4
+ data.tar.gz: 372d07987a4f7a15dd7eb3bdac30408df0f1c71ffe30a841b372ce2b1d40c580
5
5
  SHA512:
6
- metadata.gz: 62145677a3108f2aa2eeb516d03e34330d66ba01c86fd7ad0ac67c719ac7568351c248ad356d633f3a069e57287bab1543d43d999e2a916472cae668ece17799
7
- data.tar.gz: c94bdc0b789b99ed28ff2742e98820d07160f68599223023c0b8cbf8ecedb81bd8ab9a316b2da5f086bf202c920a162a70f3d4b2ee2314ae481312201f0499eb
6
+ metadata.gz: 0f9456a3540f0cbed314d23eaa9af4aab664e61d78895f229b0741424766da0d5122a9cb670574a24fd252d9db8a383fe61bbf3d3e49786af3a7fa9fa68ab63e
7
+ data.tar.gz: b6968beb2b21e8745e915b31cfdb51dcc4e432e644b70ab360d63399be215f5862cad7806753d6fe40703bb7e1ac66d20923197feff8e0e8167c1b43dfa84953
data/CHANGELOG.md ADDED
@@ -0,0 +1,66 @@
1
+ 1.9.24 / 2018-06-02
2
+ -------------------
3
+
4
+ Added:
5
+ * Added a CHANGELOG file
6
+ * Add mips64(eb) support, and mips r6 support. (#601)
7
+
8
+ Changed:
9
+ * Update libffi to latest changes on master.
10
+ * Don't search in hardcoded /usr paths on Windows.
11
+ * Don't treat Symbol args different to Strings in ffi_lib.
12
+ * Make sure size_t is defined in Thread.c. Fixes #609
13
+
14
+
15
+ 1.9.23 / 2018-02-25
16
+ -------------------
17
+
18
+ Changed:
19
+ * Fix unnecessary rebuild of configure in darwin multi arch. Fixes #605
20
+
21
+
22
+ 1.9.22 / 2018-02-22
23
+ -------------------
24
+
25
+ Changed:
26
+ * Update libffi to latest changes on master.
27
+ * Update detection of system libffi to match new requirements. Fixes #617
28
+ * Prefer bundled libffi over system libffi on Mac OS.
29
+ * Do closures via libffi. This removes ClosurePool and fixes compat with PaX. #540
30
+ * Use a more deterministic gem packaging.
31
+ * Fix unnecessary update of autoconf files at gem install.
32
+
33
+
34
+ 1.9.21 / 2018-02-06
35
+ -------------------
36
+
37
+ Added:
38
+ * Ruby-2.5 support by Windows binary gems. Fixes #598
39
+ * Add missing win64 types.
40
+ * Added support for Bitmask. (#573)
41
+ * Add support for MSYS2 (#572) and Sparc64 Linux. (#574)
42
+
43
+ Changed:
44
+ * Fix read_string to not throw an error on length 0.
45
+ * Don't use absolute paths for sh and env. Fixes usage on Adroid #528
46
+ * Use Ruby implementation for `which` for better compat with Windows. Fixes #315
47
+ * Fix compatibility with PPC64LE platform. (#577)
48
+ * Normalize sparc64 to sparcv9. (#575)
49
+
50
+ Removed:
51
+ * Drop Ruby 1.8.7 support (#480)
52
+
53
+
54
+ 1.9.18 / 2017-03-03
55
+ -------------------
56
+
57
+ Added:
58
+ * Add compatibility with Ruby-2.4.
59
+
60
+ Changed:
61
+ * Add missing shlwapi.h include to fix Windows build.
62
+ * Avoid undefined behaviour of LoadLibrary() on Windows. #553
63
+
64
+
65
+ 1.9.17 / 2017-01-13
66
+ -------------------
data/Rakefile CHANGED
@@ -161,7 +161,7 @@ namespace 'java' do
161
161
  s.homepage = gem_spec.homepage
162
162
  s.summary = gem_spec.summary
163
163
  s.description = gem_spec.description
164
- s.files = %w(LICENSE COPYING README.md Rakefile)
164
+ s.files = %w(LICENSE COPYING README.md CHANGELOG.md Rakefile)
165
165
  s.has_rdoc = false
166
166
  s.license = gem_spec.license
167
167
  s.platform = 'java'
data/lib/ffi/library.rb CHANGED
@@ -43,7 +43,6 @@ module FFI
43
43
  # FFI.map_library_name 'jpeg' # -> "jpeg.dll"
44
44
  def self.map_library_name(lib)
45
45
  # Mangle the library name to reflect the native library naming conventions
46
- lib = lib.to_s unless lib.kind_of?(String)
47
46
  lib = Library::LIBC if lib == 'c'
48
47
 
49
48
  if lib && File.basename(lib) == lib
@@ -103,7 +102,7 @@ module FFI
103
102
  FFI::DynamicLibrary.open(nil, FFI::DynamicLibrary::RTLD_LAZY | FFI::DynamicLibrary::RTLD_LOCAL)
104
103
 
105
104
  else
106
- libnames = (name.is_a?(::Array) ? name : [ name ]).map { |n| [ n, FFI.map_library_name(n) ].uniq }.flatten.compact
105
+ libnames = (name.is_a?(::Array) ? name : [ name ]).map(&:to_s).map { |n| [ n, FFI.map_library_name(n) ].uniq }.flatten.compact
107
106
  lib = nil
108
107
  errors = {}
109
108
 
@@ -126,8 +125,7 @@ module FFI
126
125
  retry
127
126
  else
128
127
  # TODO better library lookup logic
129
- libname = libname.to_s
130
- unless libname.start_with?("/")
128
+ unless libname.start_with?("/") || FFI::Platform.windows?
131
129
  path = ['/usr/lib/','/usr/local/lib/'].find do |pth|
132
130
  File.exist?(pth + libname)
133
131
  end
@@ -0,0 +1,104 @@
1
+ rbx.platform.typedef.__u_char = uchar
2
+ rbx.platform.typedef.__u_short = ushort
3
+ rbx.platform.typedef.__u_int = uint
4
+ rbx.platform.typedef.__u_long = ulong
5
+ rbx.platform.typedef.__int8_t = char
6
+ rbx.platform.typedef.__uint8_t = uchar
7
+ rbx.platform.typedef.__int16_t = short
8
+ rbx.platform.typedef.__uint16_t = ushort
9
+ rbx.platform.typedef.__int32_t = int
10
+ rbx.platform.typedef.__uint32_t = uint
11
+ rbx.platform.typedef.__int64_t = long
12
+ rbx.platform.typedef.__uint64_t = ulong
13
+ rbx.platform.typedef.__quad_t = long
14
+ rbx.platform.typedef.__u_quad_t = ulong
15
+ rbx.platform.typedef.__dev_t = ulong
16
+ rbx.platform.typedef.__uid_t = uint
17
+ rbx.platform.typedef.__gid_t = uint
18
+ rbx.platform.typedef.__ino_t = ulong
19
+ rbx.platform.typedef.__ino64_t = ulong
20
+ rbx.platform.typedef.__mode_t = uint
21
+ rbx.platform.typedef.__nlink_t = ulong
22
+ rbx.platform.typedef.__off_t = long
23
+ rbx.platform.typedef.__off64_t = long
24
+ rbx.platform.typedef.__pid_t = int
25
+ rbx.platform.typedef.__clock_t = long
26
+ rbx.platform.typedef.__rlim_t = ulong
27
+ rbx.platform.typedef.__rlim64_t = ulong
28
+ rbx.platform.typedef.__id_t = uint
29
+ rbx.platform.typedef.__time_t = long
30
+ rbx.platform.typedef.__useconds_t = uint
31
+ rbx.platform.typedef.__suseconds_t = long
32
+ rbx.platform.typedef.__daddr_t = int
33
+ rbx.platform.typedef.__key_t = int
34
+ rbx.platform.typedef.__clockid_t = int
35
+ rbx.platform.typedef.__timer_t = pointer
36
+ rbx.platform.typedef.__blksize_t = long
37
+ rbx.platform.typedef.__blkcnt_t = long
38
+ rbx.platform.typedef.__blkcnt64_t = long
39
+ rbx.platform.typedef.__fsblkcnt_t = ulong
40
+ rbx.platform.typedef.__fsblkcnt64_t = ulong
41
+ rbx.platform.typedef.__fsfilcnt_t = ulong
42
+ rbx.platform.typedef.__fsfilcnt64_t = ulong
43
+ rbx.platform.typedef.__fsword_t = long
44
+ rbx.platform.typedef.__ssize_t = long
45
+ rbx.platform.typedef.__syscall_slong_t = long
46
+ rbx.platform.typedef.__syscall_ulong_t = ulong
47
+ rbx.platform.typedef.__loff_t = long
48
+ rbx.platform.typedef.*__qaddr_t = long
49
+ rbx.platform.typedef.*__caddr_t = char
50
+ rbx.platform.typedef.__intptr_t = long
51
+ rbx.platform.typedef.__socklen_t = uint
52
+ rbx.platform.typedef.u_char = uchar
53
+ rbx.platform.typedef.u_short = ushort
54
+ rbx.platform.typedef.u_int = uint
55
+ rbx.platform.typedef.u_long = ulong
56
+ rbx.platform.typedef.quad_t = long
57
+ rbx.platform.typedef.u_quad_t = ulong
58
+ rbx.platform.typedef.loff_t = long
59
+ rbx.platform.typedef.ino_t = ulong
60
+ rbx.platform.typedef.dev_t = ulong
61
+ rbx.platform.typedef.gid_t = uint
62
+ rbx.platform.typedef.mode_t = uint
63
+ rbx.platform.typedef.nlink_t = ulong
64
+ rbx.platform.typedef.uid_t = uint
65
+ rbx.platform.typedef.off_t = long
66
+ rbx.platform.typedef.pid_t = int
67
+ rbx.platform.typedef.id_t = uint
68
+ rbx.platform.typedef.ssize_t = long
69
+ rbx.platform.typedef.daddr_t = int
70
+ rbx.platform.typedef.key_t = int
71
+ rbx.platform.typedef.clock_t = long
72
+ rbx.platform.typedef.time_t = long
73
+ rbx.platform.typedef.clockid_t = int
74
+ rbx.platform.typedef.timer_t = pointer
75
+ rbx.platform.typedef.size_t = ulong
76
+ rbx.platform.typedef.ulong = ulong
77
+ rbx.platform.typedef.ushort = ushort
78
+ rbx.platform.typedef.uint = uint
79
+ rbx.platform.typedef.int8_t = char
80
+ rbx.platform.typedef.int16_t = short
81
+ rbx.platform.typedef.int32_t = int
82
+ rbx.platform.typedef.int64_t = long_long
83
+ rbx.platform.typedef.u_int8_t = uchar
84
+ rbx.platform.typedef.u_int16_t = ushort
85
+ rbx.platform.typedef.u_int32_t = uint
86
+ rbx.platform.typedef.u_int64_t = ulong_long
87
+ rbx.platform.typedef.register_t = long
88
+ rbx.platform.typedef.__sig_atomic_t = int
89
+ rbx.platform.typedef.suseconds_t = long
90
+ rbx.platform.typedef.__fd_mask = long
91
+ rbx.platform.typedef.fd_mask = long
92
+ rbx.platform.typedef.blksize_t = long
93
+ rbx.platform.typedef.blkcnt_t = long
94
+ rbx.platform.typedef.fsblkcnt_t = ulong
95
+ rbx.platform.typedef.fsfilcnt_t = ulong
96
+ rbx.platform.typedef.pthread_t = ulong
97
+ rbx.platform.typedef.pthread_key_t = uint
98
+ rbx.platform.typedef.pthread_once_t = int
99
+ rbx.platform.typedef.socklen_t = uint
100
+ rbx.platform.typedef.sa_family_t = ushort
101
+ rbx.platform.typedef.rlim_t = ulong
102
+ rbx.platform.typedef.__rlimit_resource_t = int
103
+ rbx.platform.typedef.__rusage_who_t = int
104
+ rbx.platform.typedef.__priority_which_t = int
@@ -0,0 +1,102 @@
1
+ rbx.platform.typedef.__u_char = uchar
2
+ rbx.platform.typedef.__u_short = ushort
3
+ rbx.platform.typedef.__u_int = uint
4
+ rbx.platform.typedef.__u_long = ulong
5
+ rbx.platform.typedef.__int8_t = char
6
+ rbx.platform.typedef.__uint8_t = uchar
7
+ rbx.platform.typedef.__int16_t = short
8
+ rbx.platform.typedef.__uint16_t = ushort
9
+ rbx.platform.typedef.__int32_t = int
10
+ rbx.platform.typedef.__uint32_t = uint
11
+ rbx.platform.typedef.__int64_t = long_long
12
+ rbx.platform.typedef.__uint64_t = ulong_long
13
+ rbx.platform.typedef.__quad_t = long_long
14
+ rbx.platform.typedef.__u_quad_t = ulong_long
15
+ rbx.platform.typedef.__dev_t = ulong_long
16
+ rbx.platform.typedef.__uid_t = uint
17
+ rbx.platform.typedef.__gid_t = uint
18
+ rbx.platform.typedef.__ino_t = ulong
19
+ rbx.platform.typedef.__ino64_t = ulong_long
20
+ rbx.platform.typedef.__mode_t = uint
21
+ rbx.platform.typedef.__nlink_t = uint
22
+ rbx.platform.typedef.__off_t = long
23
+ rbx.platform.typedef.__off64_t = long_long
24
+ rbx.platform.typedef.__pid_t = int
25
+ rbx.platform.typedef.__clock_t = long
26
+ rbx.platform.typedef.__rlim_t = ulong
27
+ rbx.platform.typedef.__rlim64_t = ulong_long
28
+ rbx.platform.typedef.__id_t = uint
29
+ rbx.platform.typedef.__time_t = long
30
+ rbx.platform.typedef.__useconds_t = uint
31
+ rbx.platform.typedef.__suseconds_t = long
32
+ rbx.platform.typedef.__daddr_t = int
33
+ rbx.platform.typedef.__swblk_t = long
34
+ rbx.platform.typedef.__key_t = int
35
+ rbx.platform.typedef.__clockid_t = int
36
+ rbx.platform.typedef.__timer_t = pointer
37
+ rbx.platform.typedef.__blksize_t = long
38
+ rbx.platform.typedef.__blkcnt_t = long
39
+ rbx.platform.typedef.__blkcnt64_t = long_long
40
+ rbx.platform.typedef.__fsblkcnt_t = ulong
41
+ rbx.platform.typedef.__fsblkcnt64_t = ulong_long
42
+ rbx.platform.typedef.__fsfilcnt_t = ulong
43
+ rbx.platform.typedef.__fsfilcnt64_t = ulong_long
44
+ rbx.platform.typedef.__ssize_t = int
45
+ rbx.platform.typedef.__loff_t = long_long
46
+ rbx.platform.typedef.*__qaddr_t = long_long
47
+ rbx.platform.typedef.*__caddr_t = char
48
+ rbx.platform.typedef.__intptr_t = int
49
+ rbx.platform.typedef.__socklen_t = uint
50
+ rbx.platform.typedef.u_char = uchar
51
+ rbx.platform.typedef.u_short = ushort
52
+ rbx.platform.typedef.u_int = uint
53
+ rbx.platform.typedef.u_long = ulong
54
+ rbx.platform.typedef.quad_t = long_long
55
+ rbx.platform.typedef.u_quad_t = ulong_long
56
+ rbx.platform.typedef.loff_t = long_long
57
+ rbx.platform.typedef.ino_t = ulong_long
58
+ rbx.platform.typedef.dev_t = ulong_long
59
+ rbx.platform.typedef.gid_t = uint
60
+ rbx.platform.typedef.mode_t = uint
61
+ rbx.platform.typedef.nlink_t = uint
62
+ rbx.platform.typedef.uid_t = uint
63
+ rbx.platform.typedef.off_t = long_long
64
+ rbx.platform.typedef.pid_t = int
65
+ rbx.platform.typedef.id_t = uint
66
+ rbx.platform.typedef.ssize_t = int
67
+ rbx.platform.typedef.daddr_t = int
68
+ rbx.platform.typedef.key_t = int
69
+ rbx.platform.typedef.clock_t = long
70
+ rbx.platform.typedef.time_t = long
71
+ rbx.platform.typedef.clockid_t = int
72
+ rbx.platform.typedef.timer_t = pointer
73
+ rbx.platform.typedef.size_t = uint
74
+ rbx.platform.typedef.ulong = ulong
75
+ rbx.platform.typedef.ushort = ushort
76
+ rbx.platform.typedef.uint = uint
77
+ rbx.platform.typedef.int8_t = char
78
+ rbx.platform.typedef.int16_t = short
79
+ rbx.platform.typedef.int32_t = int
80
+ rbx.platform.typedef.int64_t = long_long
81
+ rbx.platform.typedef.u_int8_t = uchar
82
+ rbx.platform.typedef.u_int16_t = ushort
83
+ rbx.platform.typedef.u_int32_t = uint
84
+ rbx.platform.typedef.u_int64_t = ulong_long
85
+ rbx.platform.typedef.register_t = long
86
+ rbx.platform.typedef.__sig_atomic_t = int
87
+ rbx.platform.typedef.suseconds_t = long
88
+ rbx.platform.typedef.__fd_mask = long
89
+ rbx.platform.typedef.fd_mask = long
90
+ rbx.platform.typedef.blksize_t = long
91
+ rbx.platform.typedef.blkcnt_t = long_long
92
+ rbx.platform.typedef.fsblkcnt_t = ulong_long
93
+ rbx.platform.typedef.fsfilcnt_t = ulong_long
94
+ rbx.platform.typedef.pthread_t = ulong
95
+ rbx.platform.typedef.pthread_key_t = uint
96
+ rbx.platform.typedef.pthread_once_t = int
97
+ rbx.platform.typedef.socklen_t = uint
98
+ rbx.platform.typedef.sa_family_t = ushort
99
+ rbx.platform.typedef.rlim_t = ulong_long
100
+ rbx.platform.typedef.__rlimit_resource_t = int
101
+ rbx.platform.typedef.__rusage_who_t = int
102
+ rbx.platform.typedef.__priority_which_t = int
@@ -0,0 +1,102 @@
1
+ rbx.platform.typedef.__u_char = uchar
2
+ rbx.platform.typedef.__u_short = ushort
3
+ rbx.platform.typedef.__u_int = uint
4
+ rbx.platform.typedef.__u_long = ulong
5
+ rbx.platform.typedef.__int8_t = char
6
+ rbx.platform.typedef.__uint8_t = uchar
7
+ rbx.platform.typedef.__int16_t = short
8
+ rbx.platform.typedef.__uint16_t = ushort
9
+ rbx.platform.typedef.__int32_t = int
10
+ rbx.platform.typedef.__uint32_t = uint
11
+ rbx.platform.typedef.__int64_t = long_long
12
+ rbx.platform.typedef.__uint64_t = ulong_long
13
+ rbx.platform.typedef.__quad_t = long_long
14
+ rbx.platform.typedef.__u_quad_t = ulong_long
15
+ rbx.platform.typedef.__dev_t = ulong_long
16
+ rbx.platform.typedef.__uid_t = uint
17
+ rbx.platform.typedef.__gid_t = uint
18
+ rbx.platform.typedef.__ino_t = ulong
19
+ rbx.platform.typedef.__ino64_t = ulong_long
20
+ rbx.platform.typedef.__mode_t = uint
21
+ rbx.platform.typedef.__nlink_t = uint
22
+ rbx.platform.typedef.__off_t = long
23
+ rbx.platform.typedef.__off64_t = long_long
24
+ rbx.platform.typedef.__pid_t = int
25
+ rbx.platform.typedef.__clock_t = long
26
+ rbx.platform.typedef.__rlim_t = ulong
27
+ rbx.platform.typedef.__rlim64_t = ulong_long
28
+ rbx.platform.typedef.__id_t = uint
29
+ rbx.platform.typedef.__time_t = long
30
+ rbx.platform.typedef.__useconds_t = uint
31
+ rbx.platform.typedef.__suseconds_t = long
32
+ rbx.platform.typedef.__daddr_t = int
33
+ rbx.platform.typedef.__swblk_t = long
34
+ rbx.platform.typedef.__key_t = int
35
+ rbx.platform.typedef.__clockid_t = int
36
+ rbx.platform.typedef.__timer_t = pointer
37
+ rbx.platform.typedef.__blksize_t = long
38
+ rbx.platform.typedef.__blkcnt_t = long
39
+ rbx.platform.typedef.__blkcnt64_t = long_long
40
+ rbx.platform.typedef.__fsblkcnt_t = ulong
41
+ rbx.platform.typedef.__fsblkcnt64_t = ulong_long
42
+ rbx.platform.typedef.__fsfilcnt_t = ulong
43
+ rbx.platform.typedef.__fsfilcnt64_t = ulong_long
44
+ rbx.platform.typedef.__ssize_t = int
45
+ rbx.platform.typedef.__loff_t = long_long
46
+ rbx.platform.typedef.*__qaddr_t = long_long
47
+ rbx.platform.typedef.*__caddr_t = char
48
+ rbx.platform.typedef.__intptr_t = int
49
+ rbx.platform.typedef.__socklen_t = uint
50
+ rbx.platform.typedef.u_char = uchar
51
+ rbx.platform.typedef.u_short = ushort
52
+ rbx.platform.typedef.u_int = uint
53
+ rbx.platform.typedef.u_long = ulong
54
+ rbx.platform.typedef.quad_t = long_long
55
+ rbx.platform.typedef.u_quad_t = ulong_long
56
+ rbx.platform.typedef.loff_t = long_long
57
+ rbx.platform.typedef.ino_t = ulong_long
58
+ rbx.platform.typedef.dev_t = ulong_long
59
+ rbx.platform.typedef.gid_t = uint
60
+ rbx.platform.typedef.mode_t = uint
61
+ rbx.platform.typedef.nlink_t = uint
62
+ rbx.platform.typedef.uid_t = uint
63
+ rbx.platform.typedef.off_t = long_long
64
+ rbx.platform.typedef.pid_t = int
65
+ rbx.platform.typedef.id_t = uint
66
+ rbx.platform.typedef.ssize_t = int
67
+ rbx.platform.typedef.daddr_t = int
68
+ rbx.platform.typedef.key_t = int
69
+ rbx.platform.typedef.clock_t = long
70
+ rbx.platform.typedef.time_t = long
71
+ rbx.platform.typedef.clockid_t = int
72
+ rbx.platform.typedef.timer_t = pointer
73
+ rbx.platform.typedef.size_t = uint
74
+ rbx.platform.typedef.ulong = ulong
75
+ rbx.platform.typedef.ushort = ushort
76
+ rbx.platform.typedef.uint = uint
77
+ rbx.platform.typedef.int8_t = char
78
+ rbx.platform.typedef.int16_t = short
79
+ rbx.platform.typedef.int32_t = int
80
+ rbx.platform.typedef.int64_t = long_long
81
+ rbx.platform.typedef.u_int8_t = uchar
82
+ rbx.platform.typedef.u_int16_t = ushort
83
+ rbx.platform.typedef.u_int32_t = uint
84
+ rbx.platform.typedef.u_int64_t = ulong_long
85
+ rbx.platform.typedef.register_t = long
86
+ rbx.platform.typedef.__sig_atomic_t = int
87
+ rbx.platform.typedef.suseconds_t = long
88
+ rbx.platform.typedef.__fd_mask = long
89
+ rbx.platform.typedef.fd_mask = long
90
+ rbx.platform.typedef.blksize_t = long
91
+ rbx.platform.typedef.blkcnt_t = long_long
92
+ rbx.platform.typedef.fsblkcnt_t = ulong_long
93
+ rbx.platform.typedef.fsfilcnt_t = ulong_long
94
+ rbx.platform.typedef.pthread_t = ulong
95
+ rbx.platform.typedef.pthread_key_t = uint
96
+ rbx.platform.typedef.pthread_once_t = int
97
+ rbx.platform.typedef.socklen_t = uint
98
+ rbx.platform.typedef.sa_family_t = ushort
99
+ rbx.platform.typedef.rlim_t = ulong_long
100
+ rbx.platform.typedef.__rlimit_resource_t = int
101
+ rbx.platform.typedef.__rusage_who_t = int
102
+ rbx.platform.typedef.__priority_which_t = int
@@ -0,0 +1,104 @@
1
+ rbx.platform.typedef.__u_char = uchar
2
+ rbx.platform.typedef.__u_short = ushort
3
+ rbx.platform.typedef.__u_int = uint
4
+ rbx.platform.typedef.__u_long = ulong
5
+ rbx.platform.typedef.__int8_t = char
6
+ rbx.platform.typedef.__uint8_t = uchar
7
+ rbx.platform.typedef.__int16_t = short
8
+ rbx.platform.typedef.__uint16_t = ushort
9
+ rbx.platform.typedef.__int32_t = int
10
+ rbx.platform.typedef.__uint32_t = uint
11
+ rbx.platform.typedef.__int64_t = long
12
+ rbx.platform.typedef.__uint64_t = ulong
13
+ rbx.platform.typedef.__quad_t = long
14
+ rbx.platform.typedef.__u_quad_t = ulong
15
+ rbx.platform.typedef.__dev_t = ulong
16
+ rbx.platform.typedef.__uid_t = uint
17
+ rbx.platform.typedef.__gid_t = uint
18
+ rbx.platform.typedef.__ino_t = ulong
19
+ rbx.platform.typedef.__ino64_t = ulong
20
+ rbx.platform.typedef.__mode_t = uint
21
+ rbx.platform.typedef.__nlink_t = ulong
22
+ rbx.platform.typedef.__off_t = long
23
+ rbx.platform.typedef.__off64_t = long
24
+ rbx.platform.typedef.__pid_t = int
25
+ rbx.platform.typedef.__clock_t = long
26
+ rbx.platform.typedef.__rlim_t = ulong
27
+ rbx.platform.typedef.__rlim64_t = ulong
28
+ rbx.platform.typedef.__id_t = uint
29
+ rbx.platform.typedef.__time_t = long
30
+ rbx.platform.typedef.__useconds_t = uint
31
+ rbx.platform.typedef.__suseconds_t = long
32
+ rbx.platform.typedef.__daddr_t = int
33
+ rbx.platform.typedef.__key_t = int
34
+ rbx.platform.typedef.__clockid_t = int
35
+ rbx.platform.typedef.__timer_t = pointer
36
+ rbx.platform.typedef.__blksize_t = long
37
+ rbx.platform.typedef.__blkcnt_t = long
38
+ rbx.platform.typedef.__blkcnt64_t = long
39
+ rbx.platform.typedef.__fsblkcnt_t = ulong
40
+ rbx.platform.typedef.__fsblkcnt64_t = ulong
41
+ rbx.platform.typedef.__fsfilcnt_t = ulong
42
+ rbx.platform.typedef.__fsfilcnt64_t = ulong
43
+ rbx.platform.typedef.__fsword_t = long
44
+ rbx.platform.typedef.__ssize_t = long
45
+ rbx.platform.typedef.__syscall_slong_t = long
46
+ rbx.platform.typedef.__syscall_ulong_t = ulong
47
+ rbx.platform.typedef.__loff_t = long
48
+ rbx.platform.typedef.*__qaddr_t = long
49
+ rbx.platform.typedef.*__caddr_t = char
50
+ rbx.platform.typedef.__intptr_t = long
51
+ rbx.platform.typedef.__socklen_t = uint
52
+ rbx.platform.typedef.u_char = uchar
53
+ rbx.platform.typedef.u_short = ushort
54
+ rbx.platform.typedef.u_int = uint
55
+ rbx.platform.typedef.u_long = ulong
56
+ rbx.platform.typedef.quad_t = long
57
+ rbx.platform.typedef.u_quad_t = ulong
58
+ rbx.platform.typedef.loff_t = long
59
+ rbx.platform.typedef.ino_t = ulong
60
+ rbx.platform.typedef.dev_t = ulong
61
+ rbx.platform.typedef.gid_t = uint
62
+ rbx.platform.typedef.mode_t = uint
63
+ rbx.platform.typedef.nlink_t = ulong
64
+ rbx.platform.typedef.uid_t = uint
65
+ rbx.platform.typedef.off_t = long
66
+ rbx.platform.typedef.pid_t = int
67
+ rbx.platform.typedef.id_t = uint
68
+ rbx.platform.typedef.ssize_t = long
69
+ rbx.platform.typedef.daddr_t = int
70
+ rbx.platform.typedef.key_t = int
71
+ rbx.platform.typedef.clock_t = long
72
+ rbx.platform.typedef.time_t = long
73
+ rbx.platform.typedef.clockid_t = int
74
+ rbx.platform.typedef.timer_t = pointer
75
+ rbx.platform.typedef.size_t = ulong
76
+ rbx.platform.typedef.ulong = ulong
77
+ rbx.platform.typedef.ushort = ushort
78
+ rbx.platform.typedef.uint = uint
79
+ rbx.platform.typedef.int8_t = char
80
+ rbx.platform.typedef.int16_t = short
81
+ rbx.platform.typedef.int32_t = int
82
+ rbx.platform.typedef.int64_t = long_long
83
+ rbx.platform.typedef.u_int8_t = uchar
84
+ rbx.platform.typedef.u_int16_t = ushort
85
+ rbx.platform.typedef.u_int32_t = uint
86
+ rbx.platform.typedef.u_int64_t = ulong_long
87
+ rbx.platform.typedef.register_t = long
88
+ rbx.platform.typedef.__sig_atomic_t = int
89
+ rbx.platform.typedef.suseconds_t = long
90
+ rbx.platform.typedef.__fd_mask = long
91
+ rbx.platform.typedef.fd_mask = long
92
+ rbx.platform.typedef.blksize_t = long
93
+ rbx.platform.typedef.blkcnt_t = long
94
+ rbx.platform.typedef.fsblkcnt_t = ulong
95
+ rbx.platform.typedef.fsfilcnt_t = ulong
96
+ rbx.platform.typedef.pthread_t = ulong
97
+ rbx.platform.typedef.pthread_key_t = uint
98
+ rbx.platform.typedef.pthread_once_t = int
99
+ rbx.platform.typedef.socklen_t = uint
100
+ rbx.platform.typedef.sa_family_t = ushort
101
+ rbx.platform.typedef.rlim_t = ulong
102
+ rbx.platform.typedef.__rlimit_resource_t = int
103
+ rbx.platform.typedef.__rusage_who_t = int
104
+ rbx.platform.typedef.__priority_which_t = int
@@ -0,0 +1,104 @@
1
+ rbx.platform.typedef.__u_char = uchar
2
+ rbx.platform.typedef.__u_short = ushort
3
+ rbx.platform.typedef.__u_int = uint
4
+ rbx.platform.typedef.__u_long = ulong
5
+ rbx.platform.typedef.__int8_t = char
6
+ rbx.platform.typedef.__uint8_t = uchar
7
+ rbx.platform.typedef.__int16_t = short
8
+ rbx.platform.typedef.__uint16_t = ushort
9
+ rbx.platform.typedef.__int32_t = int
10
+ rbx.platform.typedef.__uint32_t = uint
11
+ rbx.platform.typedef.__int64_t = long
12
+ rbx.platform.typedef.__uint64_t = ulong
13
+ rbx.platform.typedef.__quad_t = long
14
+ rbx.platform.typedef.__u_quad_t = ulong
15
+ rbx.platform.typedef.__dev_t = ulong
16
+ rbx.platform.typedef.__uid_t = uint
17
+ rbx.platform.typedef.__gid_t = uint
18
+ rbx.platform.typedef.__ino_t = ulong
19
+ rbx.platform.typedef.__ino64_t = ulong
20
+ rbx.platform.typedef.__mode_t = uint
21
+ rbx.platform.typedef.__nlink_t = ulong
22
+ rbx.platform.typedef.__off_t = long
23
+ rbx.platform.typedef.__off64_t = long
24
+ rbx.platform.typedef.__pid_t = int
25
+ rbx.platform.typedef.__clock_t = long
26
+ rbx.platform.typedef.__rlim_t = ulong
27
+ rbx.platform.typedef.__rlim64_t = ulong
28
+ rbx.platform.typedef.__id_t = uint
29
+ rbx.platform.typedef.__time_t = long
30
+ rbx.platform.typedef.__useconds_t = uint
31
+ rbx.platform.typedef.__suseconds_t = long
32
+ rbx.platform.typedef.__daddr_t = int
33
+ rbx.platform.typedef.__key_t = int
34
+ rbx.platform.typedef.__clockid_t = int
35
+ rbx.platform.typedef.__timer_t = pointer
36
+ rbx.platform.typedef.__blksize_t = long
37
+ rbx.platform.typedef.__blkcnt_t = long
38
+ rbx.platform.typedef.__blkcnt64_t = long
39
+ rbx.platform.typedef.__fsblkcnt_t = ulong
40
+ rbx.platform.typedef.__fsblkcnt64_t = ulong
41
+ rbx.platform.typedef.__fsfilcnt_t = ulong
42
+ rbx.platform.typedef.__fsfilcnt64_t = ulong
43
+ rbx.platform.typedef.__fsword_t = long
44
+ rbx.platform.typedef.__ssize_t = long
45
+ rbx.platform.typedef.__syscall_slong_t = long
46
+ rbx.platform.typedef.__syscall_ulong_t = ulong
47
+ rbx.platform.typedef.__loff_t = long
48
+ rbx.platform.typedef.*__qaddr_t = long
49
+ rbx.platform.typedef.*__caddr_t = char
50
+ rbx.platform.typedef.__intptr_t = long
51
+ rbx.platform.typedef.__socklen_t = uint
52
+ rbx.platform.typedef.u_char = uchar
53
+ rbx.platform.typedef.u_short = ushort
54
+ rbx.platform.typedef.u_int = uint
55
+ rbx.platform.typedef.u_long = ulong
56
+ rbx.platform.typedef.quad_t = long
57
+ rbx.platform.typedef.u_quad_t = ulong
58
+ rbx.platform.typedef.loff_t = long
59
+ rbx.platform.typedef.ino_t = ulong
60
+ rbx.platform.typedef.dev_t = ulong
61
+ rbx.platform.typedef.gid_t = uint
62
+ rbx.platform.typedef.mode_t = uint
63
+ rbx.platform.typedef.nlink_t = ulong
64
+ rbx.platform.typedef.uid_t = uint
65
+ rbx.platform.typedef.off_t = long
66
+ rbx.platform.typedef.pid_t = int
67
+ rbx.platform.typedef.id_t = uint
68
+ rbx.platform.typedef.ssize_t = long
69
+ rbx.platform.typedef.daddr_t = int
70
+ rbx.platform.typedef.key_t = int
71
+ rbx.platform.typedef.clock_t = long
72
+ rbx.platform.typedef.time_t = long
73
+ rbx.platform.typedef.clockid_t = int
74
+ rbx.platform.typedef.timer_t = pointer
75
+ rbx.platform.typedef.size_t = ulong
76
+ rbx.platform.typedef.ulong = ulong
77
+ rbx.platform.typedef.ushort = ushort
78
+ rbx.platform.typedef.uint = uint
79
+ rbx.platform.typedef.int8_t = char
80
+ rbx.platform.typedef.int16_t = short
81
+ rbx.platform.typedef.int32_t = int
82
+ rbx.platform.typedef.int64_t = long_long
83
+ rbx.platform.typedef.u_int8_t = uchar
84
+ rbx.platform.typedef.u_int16_t = ushort
85
+ rbx.platform.typedef.u_int32_t = uint
86
+ rbx.platform.typedef.u_int64_t = ulong_long
87
+ rbx.platform.typedef.register_t = long
88
+ rbx.platform.typedef.__sig_atomic_t = int
89
+ rbx.platform.typedef.suseconds_t = long
90
+ rbx.platform.typedef.__fd_mask = long
91
+ rbx.platform.typedef.fd_mask = long
92
+ rbx.platform.typedef.blksize_t = long
93
+ rbx.platform.typedef.blkcnt_t = long
94
+ rbx.platform.typedef.fsblkcnt_t = ulong
95
+ rbx.platform.typedef.fsfilcnt_t = ulong
96
+ rbx.platform.typedef.pthread_t = ulong
97
+ rbx.platform.typedef.pthread_key_t = uint
98
+ rbx.platform.typedef.pthread_once_t = int
99
+ rbx.platform.typedef.socklen_t = uint
100
+ rbx.platform.typedef.sa_family_t = ushort
101
+ rbx.platform.typedef.rlim_t = ulong
102
+ rbx.platform.typedef.__rlimit_resource_t = int
103
+ rbx.platform.typedef.__rusage_who_t = int
104
+ rbx.platform.typedef.__priority_which_t = int
data/lib/ffi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module FFI
2
- VERSION = '1.9.23'
2
+ VERSION = '1.9.24'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.23
4
+ version: 1.9.24
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Wayne Meissner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-25 00:00:00.000000000 Z
11
+ date: 2018-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -90,6 +90,7 @@ files:
90
90
  - ".gitmodules"
91
91
  - ".travis.yml"
92
92
  - ".yardopts"
93
+ - CHANGELOG.md
93
94
  - COPYING
94
95
  - Gemfile
95
96
  - LICENSE
@@ -129,8 +130,13 @@ files:
129
130
  - lib/ffi/platform/i386-windows/types.conf
130
131
  - lib/ffi/platform/ia64-linux/types.conf
131
132
  - lib/ffi/platform/mips-linux/types.conf
133
+ - lib/ffi/platform/mips64-linux/types.conf
132
134
  - lib/ffi/platform/mips64el-linux/types.conf
133
135
  - lib/ffi/platform/mipsel-linux/types.conf
136
+ - lib/ffi/platform/mipsisa32r6-linux/types.conf
137
+ - lib/ffi/platform/mipsisa32r6el-linux/types.conf
138
+ - lib/ffi/platform/mipsisa64r6-linux/types.conf
139
+ - lib/ffi/platform/mipsisa64r6el-linux/types.conf
134
140
  - lib/ffi/platform/powerpc-aix/types.conf
135
141
  - lib/ffi/platform/powerpc-darwin/types.conf
136
142
  - lib/ffi/platform/powerpc-linux/types.conf