NAME ^

pmc/luauserdata.pmc - Lua Userdata

DESCRIPTION ^

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

Overloaded Methods ^

void init()

Initializes the userdata.

void init_pmc(PMC *value)

Initializes the userdata.

void mark()

Marks the userdata as live.

STRING *get_string()

PMC *get_pmc_keyed (PMC *key)

STRING *name()

Return the string "userdata".

PMC *clone()

PMC *get_attr(INTVAL idx)

void set_attr(INTVAL idx, PMC *val)

non-Vtable Methods ^

INTVAL is_equal (PMC *value)

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

INTVAL cmp (PMC *value)

Specific Methods ^

PMC *rawequal (PMC *value)

void set_metatable(PMC *meta)

AUTHORS ^

Francois Perrad.


parrot