Files
xomb-docs/kernel/runtime/dstubs.html
2013-03-14 01:31:54 -04:00

46 lines
1.4 KiB
HTML

<html><head>
<META http-equiv="content-type" content="text/html; charset=utf-8">
<title>kernel.core.dstubs</title>
</head><body>
<h1>kernel.core.dstubs</h1>
<!-- Generated by Ddoc from ../kernel/runtime/dstubs.d -->
<br><br>
<dl><dt><big>void <u>_d_monitorenter</u>(Object <i>h</i>);
</big></dt>
<dd><br><br>
</dd>
<dt><big>void <u>abort</u>();
</big></dt>
<dd>Random stubs (they'll go somewhere eventually)<br><br>
</dd>
<dt><big>Object <u>_d_toObject</u>(void* <i>p</i>);
</big></dt>
<dd>Given a pointer:
If it is an Object, return that Object.
If it is an interface, return the Object implementing the interface.
If it is <b>null</b>, return <b>null</b>.
Else, undefined crash<br><br>
</dd>
<dt><big>Object <u>_d_interface_cast</u>(void* <i>p</i>, ClassInfo <i>c</i>);
</big></dt>
<dd>Attempts to cast Object o to class <i>c</i>.
Returns o if successful, <b>null</b> if not.<br><br>
</dd>
<dt><big>void* <u>_d_interface_vtbl</u>(ClassInfo <i>ic</i>, Object <i>o</i>);
</big></dt>
<dd>Find the vtbl[] associated with Interface <i>ic</i>.<br><br>
</dd>
<dt><big>void <u>_d_assert</u>(char[] <i>file</i>, uint <i>line</i>);
</big></dt>
<dd>Exception stubs<br><br>
</dd>
</dl>
<hr><small>Page generated by <a href="http://www.digitalmars.com/d/1.0/ddoc.html">Ddoc</a>. </small>
</body></html>