NAME ^

pmc/luauserdata.pmc - Lua Userdata

DESCRIPTION ^

LuaUserdata extends LuaAny to provide a class with the behaviour of the Lua Userdata type.

Overloaded Methods ^

void init()

Initializes the userdata.

void mark()

Marks the userdata as live.

STRING *get_string()

STRING *name()

Return the string "userdata".

PMC *clone()

PMC *get_attr_str(STRING *key)

void set_attr_str(STRING *key, PMC *value)

non-Vtable Methods ^

INTVAL is_equal (PMC *value)

The == operation. Compares reference (not in depth).

INTVAL cmp (PMC *value)

Specific Methods ^

PMC *get_metatable()

PMC *rawequal (PMC *value)

void set_metatable(PMC *meta)

AUTHORS ^

Francois Perrad.


parrot