summaryrefslogtreecommitdiff
path: root/internal/imemo.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/imemo.h')
-rw-r--r--internal/imemo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/imemo.h b/internal/imemo.h
index 7420909a14..cb0a528518 100644
--- a/internal/imemo.h
+++ b/internal/imemo.h
@@ -79,7 +79,12 @@ struct vm_ifunc_argc {
#endif
};
-/*! IFUNC (Internal FUNCtion) */
+/*! IFUNC (Internal FUNCtion)
+ *
+ * Bookkeeping for converting a C function and some closed-over data into a
+ * block passable to methods. Like Ruby Proc, but not directly accessible at
+ * Ruby level since this is an imemo. See rb_block_call() and friends.
+ */
struct vm_ifunc {
VALUE flags;
VALUE *svar_lep;