NAME

src/pmc/packfiledebug.pmc - Packfile Debug Segment PMC

DESCRIPTION

This class implements a PackfileDebug object, a segment of the .pbc data file used for storing pir debug information.

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.

Initial and experimental version, using some vtables as a quick way of testing.

Vtable functions

init
Create empty PackfileDebug.
void mark()
Marks the object as live.
set_pointer
Set pointer to underlying PackFile_ConstTable
void *get_pointer()
INTVAL get_integer()
Get the number of filename mappings.
INTVAL get_string_keyed_int(INTVAL n)
Get the filename mapping n.
INTVAL get_string_keyed_int(INTVAL n)
Get the filename mapping n.