NAME ^

classes/luanil.pmc - Lua Nil

DESCRIPTION ^

LuaNil extends Python None to provide a class with the behaviour of the Lua Nil value.

Overloaded Methods ^

STRING *name()

Return the string "nil".

STRING *get_string ()

Return the string "nil".

STRING *get_repr ()

Return the string "nil".

void *get_pointer()

void set_pointer(void *ptr)

These two functions are part of the singleton creation interface. For more information see src/pmc.c.

PMC logical_not(PMC *dest)

Return always true.

AUTHORS ^

Original code by Klaas-Jan Stol.


parrot