Matt S Trout > Rakudo-Star-2012.08_001 > src/pmc/null.pmc

Download:
Rakudo-Star-2012.08_001.tar.gz

Annotate this POD

Source  

NAME ^

src/pmc/null.pmc - NULL

DESCRIPTION ^

This simply creates a way of catching NULL register accesses without really slowing down the bytecode execution.

Vtable functions

void init()

Overrides the default to do nothing.

INTVAL is_same(PMC *value)

Returns true if value is also a null PMC, false otherwise.

PMC *find_method(STRING *method_name)

Gives a more informative message than the automaticaly generated version.

Auxiliary functions

static void null_pmc_access(PARROT_INTERP, int index)

Throws the Null PMC access exception.

syntax highlighting: