Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > d92aa75c2d384ff9f513aed09a46f703 > files > 271

parrot-doc-3.1.0-2.mga1.i586.rpm

<!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>
        <title>Parrot  - NULL</title>
        <link rel="stylesheet" type="text/css"
            href="../../../resources/parrot.css"
            media="all">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    </head>
    <body>
        <div id="wrapper">
            <div id="header">

                <a href="http://www.parrot.org">
                <img border=0 src="../../../resources/parrot_logo.png" id="logo" alt="parrot">
                </a>
            </div> <!-- "header" -->
            <div id="divider"></div>
            <div id="mainbody">
                <div id="breadcrumb">
                    <a href="../../../html/index.html">Home</a> &raquo; <a href="../../../html/pmc.html">PMCs</a> &raquo; NULL
                </div>

<h1><a name="NAME"
>NAME</a></h1>

<p>src/pmc/null.pmc &#45; NULL</p>

<h1><a name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>This simply creates a way of catching <code>NULL</code> register accesses without really slowing down the bytecode execution.</p>

<h2><a name="Vtable_functions"
>Vtable functions</a></h2>

<dl>
<dt><a name="void_init()"
><b><code>void init()</b></code></a></dt>
Overrides the default to do nothing.
<dt><a name="INTVAL_is_same(PMC_*value)"
><b><code>INTVAL is_same(PMC *value)</b></code></a></dt>
Returns true if value is also a null PMC,
false otherwise.
<dt><a name="PMC_*find_method(STRING_*method_name)"
><b><code>PMC *find_method(STRING *method_name)</b></code></a></dt>
Gives a more informative message than the automaticaly generated version.</dl>

<h2><a name="Auxiliar_functions"
>Auxiliar functions</a></h2>

<dl>
<dt><a name="static_void_null_pmc_access(PARROT_INTERP,_int_index)"
><b><code>static void null_pmc_access(PARROT_INTERP, int index)</b></code></a></dt>
Throws the Null PMC access exception.</dl>
            </div> <!-- "mainbody" -->
            <div id="divider"></div>
            <div id="footer">
	        Copyright &copy; 2002-2011, Parrot Foundation.
            </div>
        </div> <!-- "wrapper" -->
    </body>
</html>