summaryrefslogtreecommitdiff
path: root/ext/fiddle
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-21 13:44:44 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-21 13:44:44 +0000
commit3fed8bc9a5c924c43aef32098ebd201d0ab6af76 (patch)
tree25f2684ded24f1159b780463da8afc352ffe28d5 /ext/fiddle
parent914611adbcaec6a2711d30fcc1ff136e02efecf8 (diff)
* ext/fiddle/lib/fiddle/import.rb (Fiddle::Importer#sizeof):
CPtr -> Pointer. * test/fiddle/test_import.rb (Fiddle::TestImport#test_sizeof): Added the test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/fiddle')
-rw-r--r--ext/fiddle/lib/fiddle/import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fiddle/lib/fiddle/import.rb b/ext/fiddle/lib/fiddle/import.rb
index 75853d6..8b948e8 100644
--- a/ext/fiddle/lib/fiddle/import.rb
+++ b/ext/fiddle/lib/fiddle/import.rb
@@ -127,7 +127,7 @@ module Fiddle
return ty.size()
end
end
- return CPtr[ty].size()
+ return Pointer[ty].size()
end
def parse_bind_options(opts)