aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl/cptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/cptr.c')
-rw-r--r--ext/dl/cptr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/dl/cptr.c b/ext/dl/cptr.c
index 488b312025..555236f2ad 100644
--- a/ext/dl/cptr.c
+++ b/ext/dl/cptr.c
@@ -197,6 +197,11 @@ rb_dlptr_to_i(VALUE self)
return PTR2NUM(data->ptr);
}
+/*
+ * call-seq: to_value
+ *
+ * Cast this CPtr to a ruby object.
+ */
VALUE
rb_dlptr_to_value(VALUE self)
{