From 9a9cc65035b7b6c06e4990fe2563580ceeb92a1b Mon Sep 17 00:00:00 2001 From: tenderlove Date: Fri, 13 Nov 2009 07:19:59 +0000 Subject: * test/dl/test_cptr.rb (**): using ruby_xfree instead of libc's free * test/dl/test_func.rb (test_strdod): strtod needs a char ** argument git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/dl/test_func.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/dl/test_func.rb') diff --git a/test/dl/test_func.rb b/test/dl/test_func.rb index 522cbd4257..99953a448e 100644 --- a/test/dl/test_func.rb +++ b/test/dl/test_func.rb @@ -35,7 +35,7 @@ module DL [TYPE_VOIDP, TYPE_VOIDP]) buff1 = CPtr["12.34"] buff2 = buff1 + 4 - r = f.call(buff1, buff2) + r = f.call(buff1, - buff2) assert_in_delta(12.34, r, 0.001) end -- cgit v1.2.1