NAME

src/pmc/imageio.pmc - ImageIO PMC

DESCRIPTION

Freezes and thaws other PMCs.

VTABLES

void init()
Initializes the PMC.
void init_pmc(PMC *pmc)
Initializes the PMC with a pre-existing PackFile_ConstTable.
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 todo list for this freeze/thaw for iterating over.
VTABLE INTVAL get_integer()
Returns the flags describing the visit action
VTABLE void push_integer(INTVAL v)
Pushes the integer v onto the end of the image.
VTABLE void push_float(FLOATVAL v)
Pushes the float v onto the end of the image.
VTABLE void push_string(STRING *v)
Pushes the string *v onto the end of the image.
VTABLE void push_pmc(PMC *v)
Pushes a reference to pmc *v onto the end of the image. If *v hasn't been seen yet, it is also pushed onto the todo list.
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.