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

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

Annotate this POD

Source  

NAME ^

src/pmc/nativepccmethod.pmc - Native PCC Method PMC

DESCRIPTION ^

Container for native functions that handle PCC on their own.

Methods

void init()

Initializes the PMC with a NULL function pointer.

void *get_pointer()

Get the pointer to the native function.

void set_pointer_keyed_str(STRING *sig, void *func)

Set the pointer to the native function and the PCC signature.

INTVAL defined()
INTVAL get_bool()

NULLness check.

opcode_t *invoke(void *next)

Call the function pointer.

void mark()

Mark contained elements for GC.

PMC *clone()

Create a clone of this PMC.

METHOD get_multisig()

Return the MMD signature PMC, if any or PMCNULL.

SEE ALSO ^

docs/pdds/pdd03_calling_conventions.pod.

syntax highlighting: