ffi 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ffi might be problematic. Click here for more details.
- data/Rakefile +1 -1
- data/ext/ffi_c/AbstractMemory.c +1 -0
- data/ext/ffi_c/NullPointer.c +2 -0
- data/ext/ffi_c/Types.c +1 -0
- metadata +2 -2
data/Rakefile
CHANGED
@@ -31,7 +31,7 @@ PROJ.name = 'ffi'
|
|
31
31
|
PROJ.authors = 'Wayne Meissner'
|
32
32
|
PROJ.email = 'wmeissner@gmail.com'
|
33
33
|
PROJ.url = 'http://kenai.com/projects/ruby-ffi'
|
34
|
-
PROJ.version = '0.3.
|
34
|
+
PROJ.version = '0.3.4'
|
35
35
|
PROJ.rubyforge.name = 'ffi'
|
36
36
|
PROJ.readme_file = 'README.rdoc'
|
37
37
|
|
data/ext/ffi_c/AbstractMemory.c
CHANGED
data/ext/ffi_c/NullPointer.c
CHANGED
@@ -32,12 +32,14 @@ static VALUE
|
|
32
32
|
nullptr_op(int argc, VALUE* argv, VALUE self)
|
33
33
|
{
|
34
34
|
rb_raise(NullPointerError, "NULL Pointer access attempted");
|
35
|
+
return Qnil;
|
35
36
|
}
|
36
37
|
|
37
38
|
static VALUE
|
38
39
|
nullptr_op_get(AbstractMemory* ptr, long offset)
|
39
40
|
{
|
40
41
|
rb_raise(NullPointerError, "NULL Pointer access attempted");
|
42
|
+
return Qnil;
|
41
43
|
}
|
42
44
|
|
43
45
|
static void
|
data/ext/ffi_c/Types.c
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wayne Meissner
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-05-01 00:00:00 +10:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|