From dcbecb4ae20214d8ba9be650a9d9b53d466162fa Mon Sep 17 00:00:00 2001 From: ttate Date: Mon, 7 Feb 2005 23:08:26 +0000 Subject: Use define_method instead of module_eval. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/test/test_import.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dl/test') diff --git a/ext/dl/test/test_import.rb b/ext/dl/test/test_import.rb index 14fb1eba6..c96c330a8 100644 --- a/ext/dl/test/test_import.rb +++ b/ext/dl/test/test_import.rb @@ -54,7 +54,7 @@ module DL def test_io() io_in,io_out = IO.pipe() - LIBC.fprintf(DL::CPtr[io_out], "hello") + LIBC.fprintf(io_out, "hello") io_out.flush() io_out.close() str = io_in.read() -- cgit