ffi 1.13.0-x86-mingw32 → 1.13.1-x86-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: 528831f939fb8aa38dff1df5a8e94848a8bebca16e42b3dacdb230167c2c773e
4
- data.tar.gz: 6eabe31b9debbbc85c1859042a67938b163374000a37295887f49ead8950b44f
3
+ metadata.gz: dd1e7e77d7ec065bfbd30a68a5e3269e80438772c79045350f0aa85e839fd5ef
4
+ data.tar.gz: 73435ca8b7c0531a22de3435246ce8860dbaf64e8d4d82e06664cb088dcc3a23
5
5
  SHA512:
6
- metadata.gz: fd8082e5b17e7549656b04770de7190aa5bc11766a2d14f8d2c665d1aa3a1c3e9dc12b190fe0ca4da62f5e6bd9ec5bf23258b6ce43dce9101a494ce4f7e21f5f
7
- data.tar.gz: 8874f723bebf884cdb30d4e43bf1a952ec5ca9b73ce3360e13f522be5a6f4f23e4fa3617fdf818cc06b81e7ade79d234aa5b3849581a158e0be3deef751db55d
6
+ metadata.gz: 6399008d474f358e45fcfe46f1dc8105265a632812c12001d635262552babf06a94c4ed0ca5fcc8fbbdc651c2b4e1579ff7664901831c98d64fc7f70173e5c50
7
+ data.tar.gz: 34c6f5deadea47afe936dd291038230af20ff470bcd24b5bbb947be57fbfc0a25ed7759d41811b5985d2d583813bdecaebfedb2e987e9e8d67e8b738ddbd5296
@@ -1,3 +1,14 @@
1
+ 1.13.1 / 2020-06-09
2
+ -------------------
3
+
4
+ Changed:
5
+ * Revert use of `ucrtbase.dll` as default C library on Windows-MINGW.
6
+ `ucrtbase.dll` is still used on MSWIN target. #790
7
+ * Test for `ffi_prep_closure_loc()` to make sure we can use this function.
8
+ This fixes incorrect use of system libffi on MacOS Mojave (10.14). #787
9
+ * Update types.conf on x86_64-dragonflybsd
10
+
11
+
1
12
  1.13.0 / 2020-06-01
2
13
  -------------------
3
14
 
@@ -129,7 +129,11 @@ module FFI
129
129
  end
130
130
 
131
131
  LIBC = if IS_WINDOWS
132
- "ucrtbase.dll"
132
+ if RbConfig::CONFIG['host_os'] =~ /mingw/i
133
+ RbConfig::CONFIG['RUBY_SO_NAME'].split('-')[-2] + '.dll'
134
+ else
135
+ "ucrtbase.dll"
136
+ end
133
137
  elsif IS_GNU
134
138
  GNU_LIBC
135
139
  elsif OS == 'cygwin'
@@ -1,9 +1,7 @@
1
1
  rbx.platform.typedef.*) = pointer
2
- rbx.platform.typedef.__char16_t = ushort
3
- rbx.platform.typedef.__char32_t = uint
2
+ rbx.platform.typedef.___wchar_t = int
4
3
  rbx.platform.typedef.__clock_t = ulong
5
4
  rbx.platform.typedef.__clockid_t = ulong
6
- rbx.platform.typedef.__ct_rune_t = int
7
5
  rbx.platform.typedef.__fd_mask = ulong
8
6
  rbx.platform.typedef.__int16_t = short
9
7
  rbx.platform.typedef.__int32_t = int
@@ -17,16 +15,14 @@ rbx.platform.typedef.__int_least16_t = short
17
15
  rbx.platform.typedef.__int_least32_t = int
18
16
  rbx.platform.typedef.__int_least64_t = long
19
17
  rbx.platform.typedef.__int_least8_t = char
18
+ rbx.platform.typedef.__intlp_t = long
20
19
  rbx.platform.typedef.__intmax_t = long
21
20
  rbx.platform.typedef.__intptr_t = long
22
- rbx.platform.typedef.__nl_item = int
23
21
  rbx.platform.typedef.__off_t = long
24
22
  rbx.platform.typedef.__pid_t = int
25
23
  rbx.platform.typedef.__ptrdiff_t = long
26
24
  rbx.platform.typedef.__register_t = long
27
25
  rbx.platform.typedef.__rlim_t = long
28
- rbx.platform.typedef.__rune_t = int
29
- rbx.platform.typedef.__segsz_t = long
30
26
  rbx.platform.typedef.__sig_atomic_t = int
31
27
  rbx.platform.typedef.__size_t = ulong
32
28
  rbx.platform.typedef.__socklen_t = uint
@@ -34,7 +30,6 @@ rbx.platform.typedef.__ssize_t = long
34
30
  rbx.platform.typedef.__suseconds_t = long
35
31
  rbx.platform.typedef.__time_t = long
36
32
  rbx.platform.typedef.__timer_t = int
37
- rbx.platform.typedef.__u_register_t = ulong
38
33
  rbx.platform.typedef.__uint16_t = ushort
39
34
  rbx.platform.typedef.__uint32_t = uint
40
35
  rbx.platform.typedef.__uint64_t = ulong
@@ -47,9 +42,9 @@ rbx.platform.typedef.__uint_least16_t = ushort
47
42
  rbx.platform.typedef.__uint_least32_t = uint
48
43
  rbx.platform.typedef.__uint_least64_t = ulong
49
44
  rbx.platform.typedef.__uint_least8_t = uchar
45
+ rbx.platform.typedef.__uintlp_t = ulong
50
46
  rbx.platform.typedef.__uintmax_t = ulong
51
47
  rbx.platform.typedef.__uintptr_t = ulong
52
- rbx.platform.typedef.__wchar_t = int
53
48
  rbx.platform.typedef.__wint_t = int
54
49
  rbx.platform.typedef.blkcnt_t = long
55
50
  rbx.platform.typedef.blksize_t = long
@@ -57,7 +52,6 @@ rbx.platform.typedef.c_caddr_t = pointer
57
52
  rbx.platform.typedef.caddr_t = string
58
53
  rbx.platform.typedef.clock_t = ulong
59
54
  rbx.platform.typedef.clockid_t = ulong
60
- rbx.platform.typedef.cpulock_t = uint
61
55
  rbx.platform.typedef.daddr_t = int
62
56
  rbx.platform.typedef.dev_t = uint
63
57
  rbx.platform.typedef.fixpt_t = uint
@@ -85,14 +79,9 @@ rbx.platform.typedef.intptr_t = long
85
79
  rbx.platform.typedef.key_t = long
86
80
  rbx.platform.typedef.lwpid_t = int
87
81
  rbx.platform.typedef.mode_t = ushort
88
- rbx.platform.typedef.mqd_t = int
89
82
  rbx.platform.typedef.nlink_t = uint
90
83
  rbx.platform.typedef.off_t = long
91
- rbx.platform.typedef.pd_entry_t = ulong
92
- rbx.platform.typedef.pdp_entry_t = ulong
93
84
  rbx.platform.typedef.pid_t = int
94
- rbx.platform.typedef.pml4_entry_t = ulong
95
- rbx.platform.typedef.pt_entry_t = ulong
96
85
  rbx.platform.typedef.pthread_key_t = int
97
86
  rbx.platform.typedef.ptrdiff_t = long
98
87
  rbx.platform.typedef.qaddr_t = pointer
@@ -116,7 +105,6 @@ rbx.platform.typedef.u_int64_t = ulong
116
105
  rbx.platform.typedef.u_int8_t = uchar
117
106
  rbx.platform.typedef.u_long = ulong
118
107
  rbx.platform.typedef.u_quad_t = ulong
119
- rbx.platform.typedef.u_register_t = ulong
120
108
  rbx.platform.typedef.u_short = ushort
121
109
  rbx.platform.typedef.uid_t = uint
122
110
  rbx.platform.typedef.uint = uint
@@ -139,10 +127,4 @@ rbx.platform.typedef.unchar = uchar
139
127
  rbx.platform.typedef.useconds_t = uint
140
128
  rbx.platform.typedef.ushort = ushort
141
129
  rbx.platform.typedef.v_caddr_t = pointer
142
- rbx.platform.typedef.vm_offset_t = ulong
143
- rbx.platform.typedef.vm_ooffset_t = long
144
- rbx.platform.typedef.vm_paddr_t = ulong
145
- rbx.platform.typedef.vm_pindex_t = ulong
146
- rbx.platform.typedef.vm_poff_t = ulong
147
- rbx.platform.typedef.vm_size_t = ulong
148
- rbx.platform.typedef.vm_spindex_t = ulong
130
+ rbx.platform.typedef.wchar_t = int
@@ -1,3 +1,3 @@
1
1
  module FFI
2
- VERSION = '1.13.0'
2
+ VERSION = '1.13.1'
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.13.0
4
+ version: 1.13.1
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Wayne Meissner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-01 00:00:00.000000000 Z
11
+ date: 2020-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake