parrotcode: Lua Userdata | |
Contents | Language Implementations | Lua |
pmc/luauserdata.pmc - Lua Userdata
LuaUserdata
extends LuaAny
to provide a class with the behaviour of the Lua Userdata
type.
void init()
void mark()
void destroy()
STRING *get_string()
STRING *name()
PMC *clone()
void set_pmc(PMC *value)
PMC *get_attr_str(STRING *key)
void set_attr_str(STRING *key, PMC *value)
INTVAL is_equal(PMC *value)
==
operation.
Compares reference (not in depth).INTVAL cmp(PMC *value)
PMC *getfenv()
PMC *get_metatable()
PMC *rawequal(PMC *value)
void setfenv(PMC *env)
void set_metatable(PMC *meta)
Francois Perrad.
|