Sophie

Sophie

distrib > Fedora > 15 > x86_64 > by-pkgid > 1e007a96761035f261351a68e7601417 > files > 118

parrot-docs-3.6.0-2.fc15.noarch.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  - Parrot Deprecations for 3.6</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/developer.html">Developer Documentation</a> &raquo; Parrot Deprecations for 3.6
                </div>

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

<p>docs/deprecations/deprecations_3_6.pod &#45; Parrot Deprecations for 3.6</p>

<h1><a name="Parrot_Deprecations_for_3.6"
>Parrot Deprecations for 3.6</a></h1>

<h2><a name="Special_Purpose_NCI_Parameter_Types"
>Special Purpose NCI Parameter Types</a></h2>

<p>The NCI parameter types &#39;J&#39;,
&#39;@&#39;,
&#39;t&#39;,
&#39;0&#39;,
&#39;V&#39;,
&#39;2&#39;,
&#39;3&#39;,
&#39;4&#39;,
&#39;B&#39;,
&#39;b&#39;,
&#39;L&#39;,
and &#39;T&#39; have been removed.</p>

<h3><a name="Rationale"
>Rationale</a></h3>

<p>These types are special&#45;purpose and their function can be accomplished by other means.</p>

<h3><a name="Replacement"
>Replacement</a></h3>

<h4><a name="&#39;J&#39;,_&#39;@&#39;,_&#39;t&#39;,_&#39;0&#39;"
><b>&#39;J&#39;,
&#39;@&#39;,
&#39;t&#39;,
&#39;0&#39;</b></a></h4>

<p>These types accomplish tasks which can be accomplished from PIR and are therefore redundant</p>

<dl>
<dt><a name="&#39;J&#39;"
>&#39;J&#39;</a></dt>
getinterp + pointer NCI types
<dt><a name="&#39;@&#39;"
>&#39;@&#39;</a></dt>
slurpy param on a wrapping PIR sub
<dt><a name="&#39;t&#39;"
>&#39;t&#39;</a></dt>
manual lifetime management of C string buffer through NCI access to Parrot_str_to_cstring() and Parrot_str_free_cstring()
<dt><a name="&#39;0&#39;"
>&#39;0&#39;</a></dt>
null + pointer NCI type</dl>

<h4><a name="&#39;V&#39;,_&#39;2&#39;,_&#39;3&#39;,_&#39;4&#39;,_&#39;B&#39;"
><b>&#39;V&#39;,
&#39;2&#39;,
&#39;3&#39;,
&#39;4&#39;,
&#39;B&#39;</b></a></h4>

<p>A less type&#45;specific pass&#45;by&#45;reference mechanism is available.</p>

<p>See the bindings for pcre_compile() in runtime/parrot/library/pcre.pir for an example of its use.</p>

<h4><a name="&#39;b&#39;,_&#39;L&#39;,_&#39;T&#39;"
><b>&#39;b&#39;,
&#39;L&#39;,
&#39;T&#39;</b></a></h4>

<p>These were poorly documented and were broken in their implementation.
No replacement has been provided as these do not represent desirable behaviour.</p>
            </div> <!-- "mainbody" -->
            <div id="divider"></div>
            <div id="footer">
	        Copyright &copy; 2002-2011, Parrot Foundation.
            </div>
        </div> <!-- "wrapper" -->
    </body>
</html>