ffi 1.13.0-x64-mingw32 → 1.13.1-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: 31cdc33d49b642d3d2baf784d53ada8c498b203a90a810cacb9370bdbf7ed22a
4
- data.tar.gz: f288d4eaa9f6b828074d290c8ef6816252e552d271214a78c76f457cccf43da7
3
+ metadata.gz: c248a23c323fe479f5c4cffa785fbe20029edc69cccf368631379e67ff9a0fa9
4
+ data.tar.gz: '086757872c719396946c8b271058d8db31e42786332c96843d669cbef2b2f577'
5
5
  SHA512:
6
- metadata.gz: 662a3508cf4ebbbea9a65833efffad4f0aec52be746ea81c1499a3d4b60ebc08add10789b72ab9f9f2ac81ccecd3eeaf8698173bbdf09bd45c02787fdf66d046
7
- data.tar.gz: 7c063fe0ef2d262cf332c47236c63ddcb005f54a8d3622e655647347386716a2ed1020a1834257752ed1d41d0450d0d670f218945022ec2992b79ccf75682718
6
+ metadata.gz: 1626001ff1c0d9a345843ecef5793c8df09dfa5a3901d22a780e7d984ea0705a6ae76751cba5b1e89b0551ce983eea6c126b911937e4531887432ce24c8d70bb
7
+ data.tar.gz: 0cd65892d4e270d74206b5f76ceebb5910be339c6e13584657add151b026146417aed726a96a413521309ce0014d6bc6c7c3272f8c6f777ba26e0ec7bd363fd7
@@ -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: x64-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