From 1a36f2d9380f64912dafe9e4cb3a858228ad96a3 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Sun, 25 Oct 2009 00:11:56 +0000 Subject: * ext/dl/handle.c (**) adding documentation * test/dl/test_handle.rb (test_NEXT) testing the NEXT handle git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/handle.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext') diff --git a/ext/dl/handle.c b/ext/dl/handle.c index 28be36c09..f5e7a33f7 100644 --- a/ext/dl/handle.c +++ b/ext/dl/handle.c @@ -51,6 +51,12 @@ static const rb_data_type_t dlhandle_data_type = { 0, dlhandle_free, dlhandle_memsize, }; +/* + * call-seq: close + * + * Close this DL::Handle. Calling close more than once will raise a + * DL::DLError exception. + */ VALUE rb_dlhandle_close(VALUE self) { -- cgit