<!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 - PtrObj</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/pmc.html">PMCs</a> » PtrObj </div> <h1><a name="NAME" >NAME</a></h1> <p>src/pmc/ptrobj.pmc - PtrObj</p> <h1><a name="DESCRIPTION" >DESCRIPTION</a></h1> <p><code>PtrObj</code> is for object-ish pointers. These augment <code>PtrBuf</code> to afford memory management.</p> <h2><a name="VTABLEs" >VTABLEs</a></h2> <dl> <dt><a name="PMC_*clone()" ><b><code>PMC *clone()</b></code></a></dt> Invoke the custom <code>clone</code> function, if one has been provided. Otherwise, cloning is an error. <dt><a name="METHOD_clone_func(func_:optional)" ><b><code>METHOD clone_func(func :optional)</b></code></a></dt> Get or set the custom <code>clone</code> function. <dt><a name="void_mark()" ><b><code>void mark()</b></code></a></dt> Invoke the custom <code>mark</code> function, if one has been provided. <dt><a name="METHOD_mark_func(func_:optional)" ><b><code>METHOD mark_func(func :optional)</b></code></a></dt> Get or set the custom <code>mark</code> function. <dt><a name="void_destroy()" ><b><code>void destroy()</b></code></a></dt> Invoke the custom <code>destroy</code> function if one has been provided. <dt><a name="METHOD_destroy_func(func_:optional)" ><b><code>METHOD destroy_func(func :optional)</b></code></a></dt> Get or set the custom <code>destroy</code> function.</dl> </div> <!-- "mainbody" --> <div id="divider"></div> <div id="footer"> Copyright © 2002-2011, Parrot Foundation. </div> </div> <!-- "wrapper" --> </body> </html>