ffi 1.9.9-x64-mingw32 → 1.9.10-x64-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.
Potentially problematic release.
This version of ffi might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Rakefile +6 -5
- data/ext/ffi_c/MethodHandle.c +7 -6
- data/ffi.gemspec +1 -1
- data/lib/2.0/ffi_c.so +0 -0
- data/lib/2.1/ffi_c.so +0 -0
- data/lib/2.2/ffi_c.so +0 -0
- data/lib/ffi/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97aac23ebc33becec1a5eb92ecdba5c0a7fb8b08
|
4
|
+
data.tar.gz: e60d581d2a7f1fb77bc0c7b15cbf2ac21ca9e970
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57b83079771add4b3df6a72195fb3612656feec99cfe56f04150fb1eab1cc9ec6f3f2d4b5fdf2134af375826390600d1bb5c195c4663f676ba7d3eaf04e6aff8
|
7
|
+
data.tar.gz: 7a3ebbaebf91df783ad104cc02f88d1ef689684ee34c7a4427dddb3d11081b9c1783e95e8d28bc5aeea474e0ff2ad523396ea6371adaf5321bfc7e22d75d61e2
|
data/Rakefile
CHANGED
@@ -96,11 +96,12 @@ CLOBBER.include 'pkg'
|
|
96
96
|
|
97
97
|
CLEAN.include 'build'
|
98
98
|
CLEAN.include 'conftest.dSYM'
|
99
|
-
CLEAN.include 'spec/ffi/fixtures/libtest.dylib'
|
100
|
-
CLEAN.include
|
101
|
-
CLEAN.include
|
102
|
-
CLEAN.include
|
103
|
-
CLEAN.include
|
99
|
+
CLEAN.include 'spec/ffi/fixtures/libtest.{dylib,so,dll}'
|
100
|
+
CLEAN.include 'spec/ffi/fixtures/*.o'
|
101
|
+
CLEAN.include "pkg/ffi-#{FFI::VERSION}-*-mingw32"
|
102
|
+
CLEAN.include "pkg/ffi-#{FFI::VERSION}-java"
|
103
|
+
CLEAN.include 'lib/1.*'
|
104
|
+
CLEAN.include 'lib/2.*'
|
104
105
|
CLEAN.include 'bin'
|
105
106
|
|
106
107
|
task :distclean => :clobber
|
data/ext/ffi_c/MethodHandle.c
CHANGED
@@ -132,6 +132,12 @@ rbffi_MethodHandle_CodeAddress(MethodHandle* handle)
|
|
132
132
|
#ifndef CUSTOM_TRAMPOLINE
|
133
133
|
static void attached_method_invoke(ffi_cif* cif, void* retval, METHOD_PARAMS parameters, void* user_data);
|
134
134
|
|
135
|
+
static ffi_type* methodHandleParamTypes[] = {
|
136
|
+
&ffi_type_sint,
|
137
|
+
&ffi_type_pointer,
|
138
|
+
&ffi_type_ulong,
|
139
|
+
};
|
140
|
+
|
135
141
|
static ffi_cif mh_cif;
|
136
142
|
|
137
143
|
static bool
|
@@ -333,12 +339,7 @@ void
|
|
333
339
|
rbffi_MethodHandle_Init(VALUE module)
|
334
340
|
{
|
335
341
|
#ifndef CUSTOM_TRAMPOLINE
|
336
|
-
ffi_status ffiStatus;
|
337
|
-
ffi_type* methodHandleParamTypes[] = {
|
338
|
-
&ffi_type_sint,
|
339
|
-
&ffi_type_pointer,
|
340
|
-
&ffi_type_ulong,
|
341
|
-
};
|
342
|
+
ffi_status ffiStatus;
|
342
343
|
#endif
|
343
344
|
|
344
345
|
defaultClosurePool = rbffi_ClosurePool_New((int) trampoline_size(), prep_trampoline, NULL);
|
data/ffi.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.required_ruby_version = '>= 1.8.7'
|
18
18
|
s.add_development_dependency 'rake', '~> 10.1'
|
19
19
|
s.add_development_dependency 'rake-compiler', '~> 0.9'
|
20
|
-
s.add_development_dependency 'rake-compiler-dock', '~> 0.
|
20
|
+
s.add_development_dependency 'rake-compiler-dock', '~> 0.4.0'
|
21
21
|
s.add_development_dependency 'rspec', '~> 2.14.1'
|
22
22
|
s.add_development_dependency 'rubygems-tasks', "~> 0.2.4"
|
23
23
|
end
|
data/lib/2.0/ffi_c.so
CHANGED
Binary file
|
data/lib/2.1/ffi_c.so
CHANGED
Binary file
|
data/lib/2.2/ffi_c.so
CHANGED
Binary file
|
data/lib/ffi/version.rb
CHANGED
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.
|
4
|
+
version: 1.9.10
|
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: 2015-
|
11
|
+
date: 2015-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.4.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.4.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|