diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-28 12:13:32 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-28 12:13:32 +0000 |
| commit | 8c83986f67daecf0ffd0a137be1f8a7be08132b3 (patch) | |
| tree | bfb478af02771a6c6f22129a2213ec86fc30aea5 /ext | |
| parent | 0d95ea2b5b2216b919fcdce979ef293406c950d5 (diff) | |
| download | ruby-8c83986f67daecf0ffd0a137be1f8a7be08132b3.tar.gz ruby-8c83986f67daecf0ffd0a137be1f8a7be08132b3.tar.xz ruby-8c83986f67daecf0ffd0a137be1f8a7be08132b3.zip | |
* ext/dl/lib/dl/import.rb (DL::Importer#sizeof): follows
a feature change in 1.9.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/dl/lib/dl/import.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/import.rb b/ext/dl/lib/dl/import.rb index aab0a38d5..199354c18 100644 --- a/ext/dl/lib/dl/import.rb +++ b/ext/dl/lib/dl/import.rb @@ -87,7 +87,7 @@ module DL 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 |
