ruby-libjit 0.2.1 → 0.2.2

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/ext/extconf.rb CHANGED
@@ -77,7 +77,7 @@ if Config::CONFIG['CC'] == 'gcc' then
77
77
  $CFLAGS << ' -Wall -g'
78
78
  end
79
79
 
80
- create_makefile("jit")
80
+ create_makefile("jit_ext")
81
81
 
82
82
  append_to_makefile = ''
83
83
 
@@ -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 specific the signature as a hash */
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 Init_jit()
1459
+ void Init_jit_ext()
1460
1460
  {
1461
1461
  jit_init();
1462
1462
 
data/lib/jit.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'jit.so'
1
+ require 'jit_ext'
2
2
  require 'jit/array'
3
3
  require 'jit/function'
4
4
  require 'jit/struct'
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.1
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-04 00:00:00 -05:00
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