NAME ^

classes/luauserdata.pmc - Lua Userdata

DESCRIPTION ^

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

Overloaded Methods ^

STRING *name()

Return the string "userdata".

STRING *get_string()

INTVAL get_bool()

In Lua, both nil and false make a condition false; any other values makes it true.

So return always true.

AUTHORS ^

Francois Perrad.


parrot