win32-api 1.10.0-universal-mingw32 → 1.10.1-universal-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES +3 -0
- data/ext/win32/api.c +3 -2
- data/lib/win32/ruby21_32/win32/api.so +0 -0
- data/lib/win32/ruby21_64/win32/api.so +0 -0
- data/lib/win32/ruby22_32/win32/api.so +0 -0
- data/lib/win32/ruby22_64/win32/api.so +0 -0
- data/lib/win32/ruby23_32/win32/api.so +0 -0
- data/lib/win32/ruby23_64/win32/api.so +0 -0
- data/lib/win32/ruby24_32/win32/api.so +0 -0
- data/lib/win32/ruby24_64/win32/api.so +0 -0
- data/lib/win32/ruby25_32/win32/api.so +0 -0
- data/lib/win32/ruby25_64/win32/api.so +0 -0
- data/lib/win32/ruby26_32/win32/api.so +0 -0
- data/lib/win32/ruby26_64/win32/api.so +0 -0
- data/lib/win32/ruby27_32/win32/api.so +0 -0
- data/lib/win32/ruby27_64/win32/api.so +0 -0
- data/lib/win32/ruby2_32/win32/api.so +0 -0
- data/lib/win32/ruby2_64/win32/api.so +0 -0
- data/lib/win32/ruby30_32/win32/api.so +0 -0
- data/lib/win32/ruby30_64/win32/api.so +0 -0
- data/lib/win32/ruby31_32/win32/api.so +0 -0
- data/lib/win32/ruby31_64/win32/api.so +0 -0
- data/test/test_win32_api.rb +1 -1
- data/win32-api.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a14aa43aa912bee6af9ecd389e4d12e67222aa00e1dcddb665ed053a2067e0e
|
4
|
+
data.tar.gz: 3587ad3d822b763234037c0cd056bcf235c99909e2e06844e466688444d92cad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7e11b1fa8a96665c1148d6cc63e4cad8fc6b44792bf9c3093ea34b7b9e8b9194c0ed1f730996288dc72ab59f1d035add13d8c9cd09874569e556c31b3de04af
|
7
|
+
data.tar.gz: 95cd7d5ed98532b6c45cdb3320e3d033ee7b7c746f4ebcbecd8f1f1226c17182e07ba49c546166a5abb28a4b6a80e6650266f302140a8c616e941c6e8a4c5755
|
data/CHANGES
CHANGED
data/ext/win32/api.c
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
|
44
44
|
|
45
45
|
#define MAX_BUF 1024
|
46
|
-
#define WINDOWS_API_VERSION "1.10.
|
46
|
+
#define WINDOWS_API_VERSION "1.10.1"
|
47
47
|
|
48
48
|
#define _T_VOID 0
|
49
49
|
#define _T_LONG 1
|
@@ -75,6 +75,7 @@ static ThreadData* thread_data_init(void)
|
|
75
75
|
VALUE obj;
|
76
76
|
|
77
77
|
obj = Data_Make_Struct(rb_cObject, ThreadData, NULL, -1, td);
|
78
|
+
td->win32api_error = 0;
|
78
79
|
rb_thread_local_aset(rb_thread_current(), id_thread_data, obj);
|
79
80
|
|
80
81
|
return td;
|
@@ -1073,7 +1074,7 @@ static VALUE api_call(int argc, VALUE* argv, VALUE self){
|
|
1073
1074
|
*/
|
1074
1075
|
static VALUE get_last_error(VALUE self)
|
1075
1076
|
{
|
1076
|
-
return
|
1077
|
+
return ULONG2NUM(thread_data_get()->win32api_error);
|
1077
1078
|
}
|
1078
1079
|
|
1079
1080
|
/*
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/test_win32_api.rb
CHANGED
data/win32-api.gemspec
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'win32-api'
|
5
|
-
spec.version = '1.10.
|
5
|
+
spec.version = '1.10.1'
|
6
6
|
spec.authors = ['Daniel J. Berger', 'Park Heesob', 'Hiroshi Hatake']
|
7
7
|
spec.license = 'Artistic-2.0'
|
8
8
|
spec.email = 'djberg96@gmail.com'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: win32-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: universal-mingw32
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-04-
|
13
|
+
date: 2021-04-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: test-unit
|