<!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 - Native PCC Method PMC</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> » Native PCC Method PMC </div> <h1><a name="NAME" >NAME</a></h1> <p>src/pmc/nativepccmethod.pmc - Native PCC Method PMC</p> <h1><a name="DESCRIPTION" >DESCRIPTION</a></h1> <p>Container for native functions that handle PCC on their own.</p> <h2><a name="Methods" >Methods</a></h2> <dl> <dt><a name="void_init()" ><b><code>void init()</b></code></a></dt> Initializes the PMC with a <code>NULL</code> function pointer. <dt><a name="void_*get_pointer()" ><b><code>void *get_pointer()</b></code></a></dt> Get the pointer to the native function. <dt><a name="void_set_pointer_keyed_str(STRING_*sig,_void_*func)" ><b><code>void set_pointer_keyed_str(STRING *sig, void *func)</b></code></a></dt> Set the pointer to the native function and the PCC signature. <dt><a name="INTVAL_defined()" ><b><code>INTVAL defined()</b></code></a></dt> <dt><a name="INTVAL_get_bool()" ><b><code>INTVAL get_bool()</b></code></a></dt> NULLness check. <dt><a name="opcode_t_*invoke(void_*next)" ><b><code>opcode_t *invoke(void *next)</b></code></a></dt> Call the function pointer. <dt><a name="void_mark()" ><b><code>void mark()</b></code></a></dt> Mark contained elements for GC. <dt><a name="PMC_*clone()" ><b><code>PMC *clone()</b></code></a></dt> Create a clone of this PMC. <dt><a name="METHOD_get_multisig()" ><b><code>METHOD get_multisig()</b></code></a></dt> Return the MMD signature PMC, if any or <code>PMCNULL</code>.</dl> <h1><a name="SEE_ALSO" >SEE ALSO</a></h1> <p><em>docs/pdds/pdd03_calling_conventions.pod</em>.</p> </div> <!-- "mainbody" --> <div id="divider"></div> <div id="footer"> Copyright © 2002-2011, Parrot Foundation. </div> </div> <!-- "wrapper" --> </body> </html>