Skip to content

Commit

Permalink
[DOC] Brief summary for usages of struct vm_ifunc
Browse files Browse the repository at this point in the history
  • Loading branch information
XrXr committed Oct 10, 2024
1 parent 2ebdabc commit c018336
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion internal/imemo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c018336

Please sign in to comment.