<!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 - ImageIOFreeze 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> » ImageIOFreeze PMC </div> <h1><a name="NAME" >NAME</a></h1> <p>src/pmc/imageiofreeze.pmc - ImageIOFreeze PMC</p> <h1><a name="DESCRIPTION" >DESCRIPTION</a></h1> <p>Freezes other PMCs.</p> <h1><a name="FUNCTIONS" >FUNCTIONS</a></h1> <dl> <dt><a name="static_opcode_t_*_GET_VISIT_CURSOR(const_PMC_*pmc)" ><b><code>static opcode_t * GET_VISIT_CURSOR(const PMC *pmc)</b></code></a></dt> Get the buffer cursor. Buffer relocations are handled. <dt><a name="static_void_SET_VISIT_CURSOR(PMC_*pmc,_const_char_*cursor)" ><b><code>static void SET_VISIT_CURSOR(PMC *pmc, const char *cursor)</b></code></a></dt> Set the buffer cursor. Buffer relocations are handled. <dt><a name="static_void_INC_VISIT_CURSOR(PMC_*pmc,_UINTVAL_inc)" ><b><code>static void INC_VISIT_CURSOR(PMC *pmc, UINTVAL inc)</b></code></a></dt> Increment the buffer cursor. Buffer relocations are handled. <dt><a name="static_void_create_buffer(PARROT_INTERP,_PMC_*pmc,_PMC_*info)" ><b><code>static void create_buffer(PARROT_INTERP, PMC *pmc, PMC *info)</b></code></a></dt> Allocate the image buffer. <dt><a name="static_void_ensure_buffer_size(PARROT_INTERP,_PMC_*io,_size_t_len)" ><b><code>static void ensure_buffer_size(PARROT_INTERP, PMC *io, size_t len)</b></code></a></dt> Checks the size of the buffer to see if it can accommodate <code>len</code> more bytes. If not, expands the buffer. <dt><a name="static_UINTVAL_check_seen(PARROT_INTERP,_PMC_*self,_PMC_*v)" ><b><code>static UINTVAL check_seen(PARROT_INTERP, PMC *self, PMC *v)</b></code></a></dt> Check the seen hash to prevent duplicate serialization.</dl> <h1><a name="VTABLES" >VTABLES</a></h1> <dl> <dt><a name="void_init()" ><b><code>void init()</b></code></a></dt> Initializes the PMC. <dt><a name="void_destroy()" ><b><code>void destroy()</b></code></a></dt> Destroys the PMC. <dt><a name="void_mark()" ><b><code>void mark()</b></code></a></dt> Marks the PMC as alive. <dt><a name="STRING_*get_string()" ><b><code>STRING *get_string()</b></code></a></dt> Returns the content of the image as a string. <dt><a name="void_*get_pointer()" ><b><code>void *get_pointer()</b></code></a></dt> Returns the seen hash. <dt><a name="VTABLE_INTVAL_get_integer()" ><b><code>VTABLE INTVAL get_integer()</b></code></a></dt> Returns the flags describing the visit action. <dt><a name="VTABLE_void_push_integer(INTVAL_v)" ><b><code>VTABLE void push_integer(INTVAL v)</b></code></a></dt> Pushes the integer <code>v</code> onto the end of the image. <dt><a name="VTABLE_void_push_float(FLOATVAL_v)" ><b><code>VTABLE void push_float(FLOATVAL v)</b></code></a></dt> Pushes the float <code>v</code> onto the end of the image. <dt><a name="VTABLE_void_push_string(STRING_*v)" ><b><code>VTABLE void push_string(STRING *v)</b></code></a></dt> Pushes the string <code>*v</code> onto the end of the image. <dt><a name="VTABLE_void_push_pmc(PMC_*v)" ><b><code>VTABLE void push_pmc(PMC *v)</b></code></a></dt> Pushes a reference to pmc <code>*v</code> onto the end of the image. If <code>*v</code> hasn't been seen yet, it is also pushed onto the todo list. <dt><a name="void_set_pointer(void_*value)" ><b><code>void set_pointer(void *value)</b></code></a></dt> Sets the constant table of this ImageIO PMC.</dl> </div> <!-- "mainbody" --> <div id="divider"></div> <div id="footer"> Copyright © 2002-2011, Parrot Foundation. </div> </div> <!-- "wrapper" --> </body> </html>