ruby-changes:9598
From: yugui <ko1@a...>
Date: Sun, 28 Dec 2008 21:13:48 +0900 (JST)
Subject: [ruby-changes:9598] Ruby:r21138 (trunk): * ext/dl/lib/dl/import.rb (DL::Importer#sizeof): follows
yugui 2008-12-28 21:13:32 +0900 (Sun, 28 Dec 2008) New Revision: 21138 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21138 Log: * ext/dl/lib/dl/import.rb (DL::Importer#sizeof): follows a feature change in 1.9. Modified files: trunk/ChangeLog trunk/ext/dl/lib/dl/import.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 21137) +++ ChangeLog (revision 21138) @@ -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 21:03:07 2008 Yuki Sonoda (Yugui) <yugui@y...> * ext/dl/lib/dl/import.rb (DL::Importer#extern): adds filename and Index: ext/dl/lib/dl/import.rb =================================================================== --- ext/dl/lib/dl/import.rb (revision 21137) +++ ext/dl/lib/dl/import.rb (revision 21138) @@ -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/