NAME ^

pmc/luaclosure.pmc - Lua Closure

DESCRIPTION ^

LuaClosure extends Parrot Closure and LuaAny to provide a class with the behaviour of the Lua Function type. LuaClosure is used by function written in Lua.

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

Overloaded Methods ^

void init_pmc(PMC *sub)

void mark()

Marks the closure 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