NAME
src/pmc/imageio.pmc - ImageIO PMC
DESCRIPTION
Freezes and thaws other PMCs.
VTABLES
void init()
Initializes the PMC.
void destroy()
Destroys the PMC.
void mark()
Marks the PMC as alive.
STRING *get_string()
Returns the content of the image as a string.
VTABLE PMC *get_pmc()
Gets the result PMC after a thaw.
VTABLE PMC *get_iter()
Get the VTABLE INTVAL get_integer()
Returns the flags describing the visit action
VTABLE void push_integer(INTVAL v)
Pushes the integer VTABLE void push_float(FLOATVAL v)
Pushes the float VTABLE void push_string(STRING *v)
Pushes the string VTABLE void push_pmc(PMC *v)
Pushes a reference to pmc VTABLE INTVAL shift_integer()
Removes and returns an integer from the start of the image.
VTABLE FLOATVAL shift_float()
Removes and returns an number from the start of the image.
VTABLE STRING* shift_string()
Removes and returns a string from the start of the image.
static PMC *shift_pmc()
Removes and returns a reference to a pmc from the start of the image.
todo
list for this freeze/thaw for iterating over.
v
onto the end of the image.
v
onto the end of the image.
*v
onto the end of the image.
*v
onto the end of the image.
If *v
hasn't been seen yet,
it is also pushed onto the todo list.