src/pmc/packfilesegment.pmc - PackfileSegment PMC


This class implements a PackfileSegment class, an abstract class defining a couple of methods which all Packfile segments will implement. The stub methods found here explode when called.

See Packfile PMC for the toplevel Packfile interface; see PDD13 for the design spec.


void init()
Initialize PackfileSegment.
void mark()
Marks the object as live.
void set_pointer(void *ptr)
Initialize PMC internals.The ptr argument is ignored.
void *get_pointer()
Initialize PMC internals.
void set_directory(PMC *directory)
Set owning directory.
void get_directory(PMC *directory)
Get owning directory.