narray_ffi 0.4 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ext/narray_ffi_c/narray_ffi.c +1 -1
- data/narray_ffi.gemspec +1 -1
- metadata +14 -20
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 22df2decdaabe384f039e666860af90183fec1fe
|
4
|
+
data.tar.gz: 3b8e423249381acdf98c00922ed045b64ce68aff
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c7ee258383e6205472b57f028cb81b58c49b35f4a44402233165bb63252e0f1e163a2e7944622437100567433d53906da00d5a3a0132851b1ebb8c38cb1cf832
|
7
|
+
data.tar.gz: db90cb7abbf66bdbef836daf48009bd1ce85ba5d39236d71c9eeacf6af3e177c87c068b3bbe7a5a0f67c77e2fdd27d69db270a3b3c9b8c3e7189b57f3ff86351
|
@@ -8,7 +8,7 @@ VALUE na_address(VALUE self) {
|
|
8
8
|
|
9
9
|
GetNArray(self,ary);
|
10
10
|
ptr = ary->ptr;
|
11
|
-
ret = ULL2NUM( (unsigned long long int) ptr);
|
11
|
+
ret = ULL2NUM( sizeof(ptr) == 4 ? (unsigned long long int) (unsigned long int) ptr : (unsigned long long int) ptr );
|
12
12
|
return ret;
|
13
13
|
}
|
14
14
|
|
data/narray_ffi.gemspec
CHANGED
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: narray_ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
5
|
-
prerelease:
|
4
|
+
version: '0.5'
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Brice Videau
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: narray
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.6.0.8
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.6.0.8
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: ffi
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 1.9.3
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 1.9.3
|
46
41
|
description: Ruby narray_ffi interface
|
@@ -50,34 +45,33 @@ extensions:
|
|
50
45
|
- ext/narray_ffi_c/extconf.rb
|
51
46
|
extra_rdoc_files: []
|
52
47
|
files:
|
53
|
-
- narray_ffi.gemspec
|
54
48
|
- LICENSE
|
55
|
-
- lib/narray_ffi.rb
|
56
|
-
- ext/narray_ffi_c/narray_ffi.c
|
57
49
|
- ext/narray_ffi_c/extconf.rb
|
50
|
+
- ext/narray_ffi_c/narray_ffi.c
|
51
|
+
- lib/narray_ffi.rb
|
52
|
+
- narray_ffi.gemspec
|
58
53
|
homepage: https://forge.imag.fr/projects/opencl-ruby/
|
59
54
|
licenses:
|
60
55
|
- BSD
|
56
|
+
metadata: {}
|
61
57
|
post_install_message:
|
62
58
|
rdoc_options: []
|
63
59
|
require_paths:
|
64
60
|
- lib
|
65
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
62
|
requirements:
|
68
|
-
- -
|
63
|
+
- - ">="
|
69
64
|
- !ruby/object:Gem::Version
|
70
65
|
version: 1.8.7
|
71
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
67
|
requirements:
|
74
|
-
- -
|
68
|
+
- - ">="
|
75
69
|
- !ruby/object:Gem::Version
|
76
70
|
version: '0'
|
77
71
|
requirements: []
|
78
72
|
rubyforge_project:
|
79
|
-
rubygems_version:
|
73
|
+
rubygems_version: 2.2.2
|
80
74
|
signing_key:
|
81
|
-
specification_version:
|
75
|
+
specification_version: 4
|
82
76
|
summary: Ruby narray_ffi
|
83
77
|
test_files: []
|