NAME ^

classes/pyboundmeth.pmc - Python Bound Method

DESCRIPTION ^

A Python Method, bound to an object, and callable as a function

Methods ^

void init()

Initializes the key.

void mark()

Marks the hash as live.

STRING *get_string()

Return the representation of this object.

void *invoke(void *next)

Invoke a method call on the indicated object.

void set_pointer(void *value)

Sets the pointer to the actual subroutine.

void set_pmc(PMC *value)

Sets the pointer to the "bound" object.

SEE ALSO ^

docs/pdds/pdd03_calling_conventions.pod.

HISTORY ^

Initial revision by sean 2002/08/04.


parrot