parrotcode: Lua Boolean | |
Contents | Language Implementations | Lua |
pmc/luaboolean.pmc - Lua Boolean
LuaBoolean
extends LuaAny
to provide a class with the behaviour of the Lua Boolean
type.
The value is stored as an Integer.
void init()
false
.
PMC instantiate_str(STRING *rep)
rep
.
STRING *name()
PMC *clone()
INTVAL get_integer()
STRING *get_string()
INTVAL get_bool()
void set_integer_native(INTVAL value)
void set_bool(INTVAL value)
void set_pmc(PMC *value)
*value
.
void freeze(visit_info *info)
void thaw(visit_info *info)
|