NAME

src/pmc/packfilefixuptable.pmc - PackfileFixupTable PMC

DESCRIPTION

This class implements a PackfileFixupTable object, a segment of the .pbc data file storing an array of PackfileFixupEntry PMCs.

See packfile.pmc for the toplevel Packfile interface, see packfilesegment.pmc for the list of common methods every packfile segment pmc must implement; see PDD13 for the design spec.

Methods

init
Create empty PackfileFixupTable.
void mark()
Marks the object as live.
void destroy()
Destroys the PMC and frees all allocated memory.
void set_pointer(void *pointer)
Initialize from PackFile_FixupTable pointer.
void *get_pointer()
Create PackFile_FixupTable* from self.
INTVAL elements()
Get the number of elements in the array.
PMC *get_pmc_keyed_int(INTVAL index)
Fetch the given PackfileFixupEntry PMC.
void set_pmc_keyed_int(INTVAL index, PMC *value)
Store a PackfileFixupEntry PMC to the given slot.