[前][次][番号順一覧][スレッド一覧]

ruby-changes:8764

From: nagai <ko1@a...>
Date: Sat, 22 Nov 2008 10:39:10 +0900 (JST)
Subject: [ruby-changes:8764] Ruby:r20300 (ruby_1_8): * ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:

nagai	2008-11-22 10:38:28 +0900 (Sat, 22 Nov 2008)

  New Revision: 20300

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20300

  Log:
    * ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb: 
      fix NameError bug.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/ext/tk/lib/tkextlib/blt/vector.rb
    branches/ruby_1_8/ext/tk/lib/tkextlib/blt.rb

Index: ruby_1_8/ext/tk/lib/tkextlib/blt/vector.rb
===================================================================
--- ruby_1_8/ext/tk/lib/tkextlib/blt/vector.rb	(revision 20299)
+++ ruby_1_8/ext/tk/lib/tkextlib/blt/vector.rb	(revision 20300)
@@ -49,11 +49,11 @@
         size = size.join(':')
       end
       if size
-        @id = INTERP._invoke('::blt::vector', 'create', 
-                             "#auto(#{size})", *hash_kv(keys))
+        @id = TkCore::INTERP._invoke('::blt::vector', 'create', 
+                                     "#auto(#{size})", *hash_kv(keys))
       else
-        @id = INTERP._invoke('::blt::vector', 'create', 
-                             "#auto", *hash_kv(keys))
+        @id = TkCore::INTERP._invoke('::blt::vector', 'create', 
+                                     "#auto", *hash_kv(keys))
       end
 
       TkVar_ID_TBL.mutex.synchronize{
@@ -68,7 +68,7 @@
       @trace_opts = nil
 
       # teach Tk-ip that @id is global var
-      INTERP._invoke_without_enc('global', @id)
+      TkCore::INTERP._invoke_without_enc('global', @id)
     end
 
     def destroy
@@ -250,7 +250,7 @@
       @trace_opts = nil
 
       # teach Tk-ip that @id is global var
-      INTERP._invoke_without_enc('global', @id)
+      TkCore::INTERP._invoke_without_enc('global', @id)
     end
   end
 end
Index: ruby_1_8/ext/tk/lib/tkextlib/blt.rb
===================================================================
--- ruby_1_8/ext/tk/lib/tkextlib/blt.rb	(revision 20299)
+++ ruby_1_8/ext/tk/lib/tkextlib/blt.rb	(revision 20300)
@@ -26,14 +26,14 @@
     PATCH_LEVEL = tk_call('set', 'blt_patchLevel')
 
     begin
-      lib = INTERP._invoke('set', 'blt_library')
+      lib = TkCore::INTERP._invoke('set', 'blt_library')
     rescue
       lib = ''
     end
     LIBRARY  = TkVarAccess.new('blt_library', lib)
 
     begin
-      lib = INTERP._invoke('set', 'blt_libPath')
+      lib = TkCore::INTERP._invoke('set', 'blt_libPath')
     rescue
       lib = ''
     end
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 20299)
+++ ruby_1_8/ChangeLog	(revision 20300)
@@ -1,3 +1,8 @@
+Sat Nov 22 10:31:25 2008  Hidetoshi NAGAI  <nagai@a...>
+
+	* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb: 
+	  fix NameError bug.
+
 Wed Nov 19 17:52:35 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* string.c (rb_str_s_alloc, rb_str_replace): use null_str as well as

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]