NAME

src/pmc/imageiosize.pmc - ImageIOSize PMC

DESCRIPTION

Gets the size of an ImageIO image without the allocation costs. Part of the internal serializer.

STATIC FUNCTIONS

static int check_seen(PARROT_INTERP, const PMC *self, const PMC *v)
Check the seen hash to prevent duplicate serialization.

VTABLES

void init()
Initializes the PMC.
void init_pmc()
Initializes the PMC with a pre-existing PackFile_ConstTable.
void mark()
Marks the PMC as alive.
VTABLE PMC *get_pmc()
Gets the result PMC after a thaw.
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.The argument v is currently ignored.
VTABLE void push_float(FLOATVAL v)
Pushes the float v onto the end of the image.The argument v is currently ignored.
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.