Skip to content

Commit 6af5a79

Browse files
committed
merge revision(s) 20300:
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb: fix NameError bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 98657d4 commit 6af5a79

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Mon Feb 16 23:30:24 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
2+
3+
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
4+
fix NameError bug.
5+
16
Mon Feb 16 23:08:22 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
27

38
* string.c (rb_str_s_alloc, rb_str_replace): use null_str as well as

ext/tk/lib/tkextlib/blt.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ module BLT
2626
PATCH_LEVEL = tk_call('set', 'blt_patchLevel')
2727

2828
begin
29-
lib = INTERP._invoke('set', 'blt_library')
29+
lib = TkCore::INTERP._invoke('set', 'blt_library')
3030
rescue
3131
lib = ''
3232
end
3333
LIBRARY = TkVarAccess.new('blt_library', lib)
3434

3535
begin
36-
lib = INTERP._invoke('set', 'blt_libPath')
36+
lib = TkCore::INTERP._invoke('set', 'blt_libPath')
3737
rescue
3838
lib = ''
3939
end

ext/tk/lib/tkextlib/blt/vector.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ def initialize(size=nil, keys={})
4949
size = size.join(':')
5050
end
5151
if size
52-
@id = INTERP._invoke('::blt::vector', 'create',
53-
"#auto(#{size})", *hash_kv(keys))
52+
@id = TkCore::INTERP._invoke('::blt::vector', 'create',
53+
"#auto(#{size})", *hash_kv(keys))
5454
else
55-
@id = INTERP._invoke('::blt::vector', 'create',
56-
"#auto", *hash_kv(keys))
55+
@id = TkCore::INTERP._invoke('::blt::vector', 'create',
56+
"#auto", *hash_kv(keys))
5757
end
5858

5959
TkVar_ID_TBL.mutex.synchronize{
@@ -68,7 +68,7 @@ def initialize(size=nil, keys={})
6868
@trace_opts = nil
6969

7070
# teach Tk-ip that @id is global var
71-
INTERP._invoke_without_enc('global', @id)
71+
TkCore::INTERP._invoke_without_enc('global', @id)
7272
end
7373

7474
def destroy
@@ -250,7 +250,7 @@ def initialize(vec_name)
250250
@trace_opts = nil
251251

252252
# teach Tk-ip that @id is global var
253-
INTERP._invoke_without_enc('global', @id)
253+
TkCore::INTERP._invoke_without_enc('global', @id)
254254
end
255255
end
256256
end

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2009-02-16"
33
#define RUBY_VERSION_CODE 187
44
#define RUBY_RELEASE_CODE 20090216
5-
#define RUBY_PATCHLEVEL 121
5+
#define RUBY_PATCHLEVEL 122
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)