ruby-libjit 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/ext/extconf.rb +1 -1
- data/ext/{jit.c → jit_ext.c} +2 -2
- data/lib/jit.rb +1 -1
- data/lib/jit/function.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/ext/extconf.rb
CHANGED
data/ext/{jit.c → jit_ext.c}
RENAMED
@@ -275,7 +275,7 @@ static VALUE create_function(int argc, VALUE * argv, VALUE klass)
|
|
275
275
|
|
276
276
|
rb_scan_args(argc, argv, "21", &context_v, &signature_v, &parent_function_v);
|
277
277
|
|
278
|
-
/* Allow the user to
|
278
|
+
/* Allow the user to specify the signature as a hash */
|
279
279
|
if (TYPE(signature_v) == T_HASH)
|
280
280
|
{
|
281
281
|
signature_v = rb_funcall(
|
@@ -1456,7 +1456,7 @@ static VALUE module_define_jit_method(VALUE klass, VALUE name_v, VALUE function_
|
|
1456
1456
|
* ---------------------------------------------------------------------------
|
1457
1457
|
*/
|
1458
1458
|
|
1459
|
-
void
|
1459
|
+
void Init_jit_ext()
|
1460
1460
|
{
|
1461
1461
|
jit_init();
|
1462
1462
|
|
data/lib/jit.rb
CHANGED
data/lib/jit/function.rb
CHANGED
@@ -118,7 +118,7 @@ module JIT
|
|
118
118
|
|
119
119
|
# Usage:
|
120
120
|
#
|
121
|
-
# until { <condition> }.do {
|
121
|
+
# until { <condition> }.do { |loop|
|
122
122
|
# # loop body
|
123
123
|
# } .end
|
124
124
|
#
|
@@ -133,7 +133,7 @@ module JIT
|
|
133
133
|
|
134
134
|
# Usage:
|
135
135
|
#
|
136
|
-
# while { <condition> }.do {
|
136
|
+
# while { <condition> }.do { |loop|
|
137
137
|
# # loop body
|
138
138
|
# } .end
|
139
139
|
#
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-libjit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Brannan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-06 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -41,9 +41,9 @@ files:
|
|
41
41
|
- lib/jit/type.rb
|
42
42
|
- ext/extconf.rb
|
43
43
|
- ext/rubypp.rb
|
44
|
-
- ext/jit.c
|
45
44
|
- ext/minimal_node.c
|
46
45
|
- ext/method_data.c
|
46
|
+
- ext/jit_ext.c
|
47
47
|
- ext/minimal_node.h
|
48
48
|
- ext/method_data.h
|
49
49
|
- ext/rubyjit.h
|