зеркало из https://github.com/github/ruby.git
* test/fiddle/test_import.rb (Fiddle::TestImport#test_sizeof):
added test for long long [fix GH-716] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b14afd8fde
Коммит
842e0b05ea
|
@ -1,3 +1,8 @@
|
|||
Wed Sep 17 11:33:35 2014 Laurent Arnoud <laurent@spkdev.net>
|
||||
|
||||
* test/fiddle/test_import.rb (Fiddle::TestImport#test_sizeof):
|
||||
added test for long long [fix GH-716]
|
||||
|
||||
Wed Sep 17 11:09:21 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* tool/rbinstall.rb: fixed invalid options with latest rubygems.
|
||||
|
|
|
@ -63,6 +63,7 @@ module Fiddle
|
|||
assert_equal(SIZEOF_VOIDP, LIBC.sizeof("FILE*"))
|
||||
assert_equal(LIBC::MyStruct.size(), LIBC.sizeof(LIBC::MyStruct))
|
||||
assert_equal(LIBC::MyStruct.size(), LIBC.sizeof(LIBC::MyStruct.malloc()))
|
||||
assert_equal(SIZEOF_LONG_LONG, LIBC.sizeof("long long"))
|
||||
end
|
||||
|
||||
Fiddle.constants.grep(/\ATYPE_(?!VOID\z)(.*)/) do
|
||||
|
|
Загрузка…
Ссылка в новой задаче