| 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 new_from_string(STRING *rep)rep.void morph(INTVAL type)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 freeze(visit_info *info)void thaw(visit_info *info)


Francois Perrad.
Klaas-Jan Stol.
|
|
|