<!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> » <a href="../../../html/developer.html">Developer Documentation</a> » Parrot Deprecations for 3.6 </div> <h1><a name="NAME" >NAME</a></h1> <p>docs/deprecations/deprecations_3_6.pod - 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 'J', '@', 't', '0', 'V', '2', '3', '4', 'B', 'b', 'L', and 'T' have been removed.</p> <h3><a name="Rationale" >Rationale</a></h3> <p>These types are special-purpose and their function can be accomplished by other means.</p> <h3><a name="Replacement" >Replacement</a></h3> <h4><a name="'J',_'@',_'t',_'0'" ><b>'J', '@', 't', '0'</b></a></h4> <p>These types accomplish tasks which can be accomplished from PIR and are therefore redundant</p> <dl> <dt><a name="'J'" >'J'</a></dt> getinterp + pointer NCI types <dt><a name="'@'" >'@'</a></dt> slurpy param on a wrapping PIR sub <dt><a name="'t'" >'t'</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="'0'" >'0'</a></dt> null + pointer NCI type</dl> <h4><a name="'V',_'2',_'3',_'4',_'B'" ><b>'V', '2', '3', '4', 'B'</b></a></h4> <p>A less type-specific pass-by-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="'b',_'L',_'T'" ><b>'b', 'L', 'T'</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 © 2002-2011, Parrot Foundation. </div> </div> <!-- "wrapper" --> </body> </html>