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

ruby-changes:9616

From: yugui <ko1@a...>
Date: Mon, 29 Dec 2008 16:19:41 +0900 (JST)
Subject: [ruby-changes:9616] Ruby:r21155 (ruby_1_9_1): merges r21138 from trunk into ruby_1_9_1.

yugui	2008-12-29 16:18:47 +0900 (Mon, 29 Dec 2008)

  New Revision: 21155

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

  Log:
    merges r21138 from trunk into ruby_1_9_1.
    * ext/dl/lib/dl/import.rb (DL::Importer#sizeof): follows
      a feature change in 1.9.

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/ext/dl/lib/dl/import.rb

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21154)
+++ ruby_1_9_1/ChangeLog	(revision 21155)
@@ -1,3 +1,8 @@
+Sun Dec 28 21:09:12 2008  Yuki Sonoda (Yugui)  <yugui@y...>
+
+	* ext/dl/lib/dl/import.rb (DL::Importer#sizeof): follows
+	  a feature change in 1.9.
+
 Sun Dec 28 19:11:03 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* win32/Makefile.sub (config.h): do not use snprintf/vsnprintf in
Index: ruby_1_9_1/ext/dl/lib/dl/import.rb
===================================================================
--- ruby_1_9_1/ext/dl/lib/dl/import.rb	(revision 21154)
+++ ruby_1_9_1/ext/dl/lib/dl/import.rb	(revision 21155)
@@ -87,7 +87,7 @@
           raise(DLError, "unknown type: #{ty}")
         end
       when Class
-        if( ty.instance_methods().include?("to_ptr") )
+        if( ty.instance_methods().include?(:to_ptr) )
           return ty.size()
         end
       end

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

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