posix_mq RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH 1/3] Fix call to DL::Function.new in tests
@ 2012-07-03 20:13 Hleb Valoshka
  2012-07-03 20:13 ` [PATCH 2/3] Add libc names for Debian GNU/kFreeBSD and FreeBSD " Hleb Valoshka
  2012-07-03 20:13 ` [PATCH 3/3] Add a sleep in alarm test in current Ruby Hleb Valoshka
  0 siblings, 2 replies; 12+ messages in thread
From: Hleb Valoshka @ 2012-07-03 20:13 UTC (permalink / raw)
  To: ruby.posix.mq

The 3rd argument of DL::Function.new is ABI type, not a return type.
---
 test/test_posix_mq.rb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_posix_mq.rb b/test/test_posix_mq.rb
index d48238c..5c7cc11 100644
--- a/test/test_posix_mq.rb
+++ b/test/test_posix_mq.rb
@@ -110,7 +110,7 @@ class Test_POSIX_MQ < Test::Unit::TestCase
       if defined?(DL::Function)
         alarm = libc["alarm"]
         alarm = DL::CFunc.new(alarm, DL::TYPE_INT, "alarm")
-        alarm = DL::Function.new(alarm, [DL::TYPE_INT], DL::TYPE_INT)
+        alarm = DL::Function.new(alarm, [DL::TYPE_INT])
       else
         alarm = libc["alarm", "II"]
       end
-- 
1.7.10



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-07-13 16:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-03 20:13 [PATCH 1/3] Fix call to DL::Function.new in tests Hleb Valoshka
2012-07-03 20:13 ` [PATCH 2/3] Add libc names for Debian GNU/kFreeBSD and FreeBSD " Hleb Valoshka
2012-07-03 20:13 ` [PATCH 3/3] Add a sleep in alarm test in current Ruby Hleb Valoshka
2012-07-04  0:20   ` Eric Wong
2012-07-04  0:59     ` Eric Wong
2012-07-04 13:39     ` Hleb Valoshka
2012-07-12  8:03       ` Hleb Valoshka
2012-07-12  8:09         ` Eric Wong
2012-07-12 13:46           ` Hleb Valoshka
2012-07-12 19:46             ` Eric Wong
2012-07-13  7:21       ` Eric Wong
2012-07-13 16:46         ` Hleb Valoshka

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/ruby_posix_mq.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).