NAME ^

src/pmc/callsignature.pmc - CallSignature PMC

DESCRIPTION ^

The CallSignature PMC is used to store the argument list and argument meta information for a multiple dispatch call.

Functions ^

void init()

Initializes a newly created CallSignature object.

void set_string_native(STRING *value)

Sets the short signature for the CallSignature.

STRING *get_string()

Returns the short signature for the CallSignature.

void set_pmc(PMC *value)

Sets a fixed-size array of integer types (a type tuple) for the CallSignature.

PMC *get_pmc()

Returns a fixed-size array of integer types (a type tuple) for the CallSignature.

void set_attr_str(STRING *key, PMC *value)

Set a PMC value for an attribute by string name.

returns

Stores the return signature, an array of PMCs.

PMC *get_attr_str(STRING *key)

Get a PMC value for an attribute by string name.

returns

Retrieves the return signature, an array of PMCs.

void mark()

Mark any referenced strings and PMCs.


parrot