Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
doc
/
ruby
/
capi
/
html
/
d1
/
d2e
/
//opt/alt/ruby21/share/doc/ruby/capi/html/d1/d2e/structrb__method__cfunc__struct.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Ruby: rb_method_cfunc_struct Struct Reference</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Ruby  <span id="projectnumber">2.1.10p492(2016-04-01revision54464)</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-attribs">Data Fields</a> </div> <div class="headertitle"> <div class="title">rb_method_cfunc_struct Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="../../db/d0a/method_8h_source.html">method.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr class="memitem:a5a413d5048a825ca069c594d36f53f17"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d2e/structrb__method__cfunc__struct.html#a5a413d5048a825ca069c594d36f53f17">func</a> )(<a class="el" href="../../d8/db0/defines_8h.html#af4fd7cbafda9af704310f78516042dfb">ANYARGS</a>)</td></tr> <tr class="separator:a5a413d5048a825ca069c594d36f53f17"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abdd9767de00f947a546b261ab8169d69"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d2e/structrb__method__cfunc__struct.html#abdd9767de00f947a546b261ab8169d69">invoker</a> )(<a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a>(*<a class="el" href="../../d1/d2e/structrb__method__cfunc__struct.html#a5a413d5048a825ca069c594d36f53f17">func</a>)(<a class="el" href="../../d8/db0/defines_8h.html#af4fd7cbafda9af704310f78516042dfb">ANYARGS</a>), <a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> recv, int <a class="el" href="../../d1/d2e/structrb__method__cfunc__struct.html#a1f7a9ee0ee4ac74e422517923d65c6ed">argc</a>, <a class="el" href="../../da/d50/vsnprintf_8c.html#a2c212835823e3c54a8ab6d95c652660e">const</a> <a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> *<a class="el" href="../../df/d77/ruby_8c.html#af2efa898e9eed6fe6715279cb1ec35b0">argv</a>)</td></tr> <tr class="separator:abdd9767de00f947a546b261ab8169d69"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1f7a9ee0ee4ac74e422517923d65c6ed"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d2e/structrb__method__cfunc__struct.html#a1f7a9ee0ee4ac74e422517923d65c6ed">argc</a></td></tr> <tr class="separator:a1f7a9ee0ee4ac74e422517923d65c6ed"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"> <p class="definition">Definition at line <a class="el" href="../../db/d0a/method_8h_source.html#l00065">65</a> of file <a class="el" href="../../db/d0a/method_8h_source.html">method.h</a>.</p> </div><h2 class="groupheader">Field Documentation</h2> <a id="a1f7a9ee0ee4ac74e422517923d65c6ed"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1f7a9ee0ee4ac74e422517923d65c6ed">◆ </a></span>argc</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rb_method_cfunc_struct::argc</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../db/d0a/method_8h_source.html#l00068">68</a> of file <a class="el" href="../../db/d0a/method_8h_source.html">method.h</a>.</p> <p class="reference">Referenced by <a class="el" href="../../de/d63/vm__method_8c_source.html#l00428">rb_add_method()</a>, <a class="el" href="../../de/d63/vm__method_8c_source.html#l00099">rb_add_method_cfunc()</a>, <a class="el" href="../../de/d63/vm__method_8c_source.html#l01211">rb_hash_method_definition()</a>, <a class="el" href="../../de/d63/vm__method_8c_source.html#l01173">rb_method_definition_eq()</a>, <a class="el" href="../../d3/dda/proc_8c_source.html#l01982">rb_method_entry_min_max_arity()</a>, <a class="el" href="../../de/d63/vm__method_8c_source.html#l00420">setup_method_cfunc_struct()</a>, <a class="el" href="../../d3/d80/vm__eval_8c_source.html#l00095">vm_call0_cfunc_with_frame()</a>, and <a class="el" href="../../d0/db2/vm__insnhelper_8c_source.html#l01487">vm_call_cfunc_with_frame()</a>.</p> </div> </div> <a id="a5a413d5048a825ca069c594d36f53f17"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5a413d5048a825ca069c594d36f53f17">◆ </a></span>func</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a>(* rb_method_cfunc_struct::func) (<a class="el" href="../../d8/db0/defines_8h.html#af4fd7cbafda9af704310f78516042dfb">ANYARGS</a>)</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../db/d0a/method_8h_source.html#l00066">66</a> of file <a class="el" href="../../db/d0a/method_8h_source.html">method.h</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d0/db2/vm__insnhelper_8c_source.html#l00865">check_cfunc()</a>, <a class="el" href="../../de/d63/vm__method_8c_source.html#l00428">rb_add_method()</a>, <a class="el" href="../../de/d63/vm__method_8c_source.html#l00099">rb_add_method_cfunc()</a>, <a class="el" href="../../de/d63/vm__method_8c_source.html#l01211">rb_hash_method_definition()</a>, <a class="el" href="../../de/d63/vm__method_8c_source.html#l01173">rb_method_definition_eq()</a>, <a class="el" href="../../d9/d0c/class_8c_source.html#l01707">rb_obj_basic_to_s_p()</a>, <a class="el" href="../../de/d63/vm__method_8c_source.html#l00420">setup_method_cfunc_struct()</a>, <a class="el" href="../../d3/d80/vm__eval_8c_source.html#l00095">vm_call0_cfunc_with_frame()</a>, and <a class="el" href="../../d0/db2/vm__insnhelper_8c_source.html#l01487">vm_call_cfunc_with_frame()</a>.</p> </div> </div> <a id="abdd9767de00f947a546b261ab8169d69"></a> <h2 class="memtitle"><span class="permalink"><a href="#abdd9767de00f947a546b261ab8169d69">◆ </a></span>invoker</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a>(* rb_method_cfunc_struct::invoker) (<a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a>(*<a class="el" href="../../d1/d2e/structrb__method__cfunc__struct.html#a5a413d5048a825ca069c594d36f53f17">func</a>)(<a class="el" href="../../d8/db0/defines_8h.html#af4fd7cbafda9af704310f78516042dfb">ANYARGS</a>), <a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> recv, int <a class="el" href="../../d1/d2e/structrb__method__cfunc__struct.html#a1f7a9ee0ee4ac74e422517923d65c6ed">argc</a>, <a class="el" href="../../da/d50/vsnprintf_8c.html#a2c212835823e3c54a8ab6d95c652660e">const</a> <a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> *<a class="el" href="../../df/d77/ruby_8c.html#af2efa898e9eed6fe6715279cb1ec35b0">argv</a>)</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../db/d0a/method_8h_source.html#l00067">67</a> of file <a class="el" href="../../db/d0a/method_8h_source.html">method.h</a>.</p> <p class="reference">Referenced by <a class="el" href="../../de/d63/vm__method_8c_source.html#l00420">setup_method_cfunc_struct()</a>, <a class="el" href="../../d3/d80/vm__eval_8c_source.html#l00095">vm_call0_cfunc_with_frame()</a>, and <a class="el" href="../../d0/db2/vm__insnhelper_8c_source.html#l01487">vm_call_cfunc_with_frame()</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="../../db/d0a/method_8h_source.html">method.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>