📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 05:55:52
📂
/ (Root)
/
opt
/
alt
/
ruby21
/
share
/
doc
/
ruby
/
capi
/
html
/
d4
/
dec
📍 /opt/alt/ruby21/share/doc/ruby/capi/html/d4/dec
🔄 Refresh
✏️
Editing: objspace_8h_source.html
Read Only
<!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: ext/objspace/objspace.h Source File</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 id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="../../dir_31cedd4509e06940f559c1ca2f722e02.html">ext</a></li><li class="navelem"><a class="el" href="../../dir_599861959a7682eccb213bcc1ed4e246.html">objspace</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">objspace.h</div> </div> </div><!--header--> <div class="contents"> <a href="../../d4/dec/objspace_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef OBJSPACE_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define OBJSPACE_H 1</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/* object_tracing.c */</span></div><div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="../../d6/d88/structallocation__info.html"> 5</a></span> <span class="keyword">struct </span><a class="code" href="../../d6/d88/structallocation__info.html">allocation_info</a> {</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  <span class="comment">/* all of information don't need marking. */</span></div><div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="../../d6/d88/structallocation__info.html#afce5fc26716b4e1b0f6f6142167078be"> 7</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../d6/d88/structallocation__info.html#afce5fc26716b4e1b0f6f6142167078be">living</a>;</div><div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="../../d6/d88/structallocation__info.html#a10dd5fb317616095f322389052441aed"> 8</a></span>  <a class="code" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> <a class="code" href="../../d6/d88/structallocation__info.html#a10dd5fb317616095f322389052441aed">flags</a>;</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="../../d6/d88/structallocation__info.html#a314d451d826d5039ffc329e755aef6a1"> 9</a></span>  <a class="code" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> <a class="code" href="../../d6/d88/structallocation__info.html#a314d451d826d5039ffc329e755aef6a1">klass</a>;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <span class="comment">/* allocation info */</span></div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="../../d6/d88/structallocation__info.html#a8c57e9b457daa3df5ac94533421ae236"> 12</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="../../d6/d88/structallocation__info.html#a8c57e9b457daa3df5ac94533421ae236">path</a>;</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="../../d6/d88/structallocation__info.html#a8aa9631e461c389fe2840f34e8a0326b"> 13</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="../../d6/d88/structallocation__info.html#a8aa9631e461c389fe2840f34e8a0326b">line</a>;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="../../d6/d88/structallocation__info.html#a0107518d71dd84ae20e201dec0ed8030"> 14</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="../../d6/d88/structallocation__info.html#a0107518d71dd84ae20e201dec0ed8030">class_path</a>;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="../../d6/d88/structallocation__info.html#ad0b371ae1bcffb1b41be0da241473264"> 15</a></span>  <a class="code" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> <a class="code" href="../../d6/d88/structallocation__info.html#ad0b371ae1bcffb1b41be0da241473264">mid</a>;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="../../d6/d88/structallocation__info.html#ab7e55000958cecc13be2b2f2f1fbd4fa"> 16</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="../../d6/d88/structallocation__info.html#ab7e55000958cecc13be2b2f2f1fbd4fa">generation</a>;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> };</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">struct </span><a class="code" href="../../d6/d88/structallocation__info.html">allocation_info</a> *<a class="code" href="../../d4/dec/objspace_8h.html#aa31656ab469a99471e199605c8c7a588">objspace_lookup_allocation_info</a>(<a class="code" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> obj);</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="objspace_8h_html_aa31656ab469a99471e199605c8c7a588"><div class="ttname"><a href="../../d4/dec/objspace_8h.html#aa31656ab469a99471e199605c8c7a588">objspace_lookup_allocation_info</a></div><div class="ttdeci">struct allocation_info * objspace_lookup_allocation_info(VALUE obj)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/dc9/object__tracing_8c_source.html#l00331">object_tracing.c:331</a></div></div> <div class="ttc" id="structallocation__info_html_afce5fc26716b4e1b0f6f6142167078be"><div class="ttname"><a href="../../d6/d88/structallocation__info.html#afce5fc26716b4e1b0f6f6142167078be">allocation_info::living</a></div><div class="ttdeci">int living</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/dec/objspace_8h_source.html#l00007">objspace.h:7</a></div></div> <div class="ttc" id="structallocation__info_html_a314d451d826d5039ffc329e755aef6a1"><div class="ttname"><a href="../../d6/d88/structallocation__info.html#a314d451d826d5039ffc329e755aef6a1">allocation_info::klass</a></div><div class="ttdeci">VALUE klass</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/dec/objspace_8h_source.html#l00009">objspace.h:9</a></div></div> <div class="ttc" id="structallocation__info_html_ab7e55000958cecc13be2b2f2f1fbd4fa"><div class="ttname"><a href="../../d6/d88/structallocation__info.html#ab7e55000958cecc13be2b2f2f1fbd4fa">allocation_info::generation</a></div><div class="ttdeci">size_t generation</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/dec/objspace_8h_source.html#l00016">objspace.h:16</a></div></div> <div class="ttc" id="structallocation__info_html_a8aa9631e461c389fe2840f34e8a0326b"><div class="ttname"><a href="../../d6/d88/structallocation__info.html#a8aa9631e461c389fe2840f34e8a0326b">allocation_info::line</a></div><div class="ttdeci">unsigned long line</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/dec/objspace_8h_source.html#l00013">objspace.h:13</a></div></div> <div class="ttc" id="ruby_2ruby_8h_html_a3c1d4bfc6a81af60bdcb48744c35f760"><div class="ttname"><a href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a></div><div class="ttdeci">unsigned long VALUE</div><div class="ttdef"><b>Definition:</b> <a href="../../de/de6/ruby_2ruby_8h_source.html#l00088">ruby.h:88</a></div></div> <div class="ttc" id="structallocation__info_html_ad0b371ae1bcffb1b41be0da241473264"><div class="ttname"><a href="../../d6/d88/structallocation__info.html#ad0b371ae1bcffb1b41be0da241473264">allocation_info::mid</a></div><div class="ttdeci">VALUE mid</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/dec/objspace_8h_source.html#l00015">objspace.h:15</a></div></div> <div class="ttc" id="structallocation__info_html_a0107518d71dd84ae20e201dec0ed8030"><div class="ttname"><a href="../../d6/d88/structallocation__info.html#a0107518d71dd84ae20e201dec0ed8030">allocation_info::class_path</a></div><div class="ttdeci">const char * class_path</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/dec/objspace_8h_source.html#l00014">objspace.h:14</a></div></div> <div class="ttc" id="structallocation__info_html"><div class="ttname"><a href="../../d6/d88/structallocation__info.html">allocation_info</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d4/dec/objspace_8h_source.html#l00005">objspace.h:5</a></div></div> <div class="ttc" id="structallocation__info_html_a10dd5fb317616095f322389052441aed"><div class="ttname"><a href="../../d6/d88/structallocation__info.html#a10dd5fb317616095f322389052441aed">allocation_info::flags</a></div><div class="ttdeci">VALUE flags</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/dec/objspace_8h_source.html#l00008">objspace.h:8</a></div></div> <div class="ttc" id="structallocation__info_html_a8c57e9b457daa3df5ac94533421ae236"><div class="ttname"><a href="../../d6/d88/structallocation__info.html#a8c57e9b457daa3df5ac94533421ae236">allocation_info::path</a></div><div class="ttdeci">const char * path</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/dec/objspace_8h_source.html#l00012">objspace.h:12</a></div></div> </div><!-- fragment --></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>
💾 Save Changes
❌ Cancel