diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-16 10:03:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-16 10:03:02 +0000 |
commit | da2497745e207c20b632ec14731397fb48a52fd2 (patch) | |
tree | 97696eb7663f1654e3fb7c38dbf20d104b0c0e70 /test/dl/test_import.rb | |
parent | 53dddcf88e6f522d120e9b7df8c249f945eec556 (diff) | |
download | ruby-da2497745e207c20b632ec14731397fb48a52fd2.tar.gz |
* test/dl/test_{base,handle}.rb: use more verbose assertions.
* test/dl/test_import.rb (DL::LIBC::BoundQsortCallback): renamed
to get rid of overwriting warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl/test_import.rb')
-rw-r--r-- | test/dl/test_import.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_import.rb b/test/dl/test_import.rb index e4af382abc..56a417f9ab 100644 --- a/test/dl/test_import.rb +++ b/test/dl/test_import.rb @@ -18,7 +18,7 @@ module DL extern "int gettimeofday(timeval*, timezone*)" rescue nil QsortCallback = bind("void *qsort_callback(void*, void*)", :temp) - BoundQsortCallback = bind("void *qsort_callback(void*, void*)"){|ptr1,ptr2| ptr1[0] <=> ptr2[0]} + BoundQsortCallback = bind("void *bound_qsort_callback(void*, void*)"){|ptr1,ptr2| ptr1[0] <=> ptr2[0]} Timeval = struct [ "long tv_sec", "long tv_usec", |