NAME ^

pmc/luafunction.pmc - Lua Function

DESCRIPTION ^

LuaFunction extends Parrot Sub and LuaAny to provide a class with the behaviour of the Lua Function type. LuaFunction is used by standard libraries written in PIR.

See also: languages/lua/pmc/luaclosure.pmc

Overloaded Methods ^

void mark()

Marks the function as live.

STRING *name()

Return the string "function".

PMC *clone()

STRING *get_string()

void set_pmc(PMC *value)

INTVAL is_equal (PMC *value)

Specific Methods ^

PMC *getfenv()

PMC *rawequal (PMC *value)

void setfenv(PMC *env)

AUTHORS ^

Francois Perrad


parrot