| 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()STRING *get_string()STRING *name()PMC *clone()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)

Francois Perrad.
|
|
|