summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-25 00:11:56 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-25 00:11:56 +0000
commit3f6f9f87ca248d66d6ba87a2bcea321d1c90661f (patch)
treec7b4c40c50c00692cdc06b77c31c1d08a805df82 /ext
parent1578edbafc8d641a1829cb1949318aa754fc5485 (diff)
* ext/dl/handle.c (**) adding documentation
* test/dl/test_handle.rb (test_NEXT) testing the NEXT handle git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/dl/handle.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/dl/handle.c b/ext/dl/handle.c
index 28be36c099..f5e7a33f7e 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)
{