potion
0.2
|
root namespace, the global environment and parent class of all builtins. More...
Public Member Functions | |
PN | potion_lobby_read (Potion *P, PN cl, PN self) |
PN | potion_srand (Potion *P, PN cl, PN self, PN seed) |
PN | potion_rand (Potion *P, PN cl, PN self) |
PN | potion_lobby_isa (Potion *P, PN cl, PN self, vPN(Vtable) vtable) |
static PN | potion_lobby_self (Potion *P, PN cl, PN self) |
PN | potion_lobby_string (Potion *P, PN cl, PN self) |
PN | potion_lobby_kind (Potion *P, PN cl, PN self) |
PN | potion_lobby_can (Potion *P, PN cl, PN self, PN method) |
PN | potion_lobby_print (Potion *P, PN cl, PN self) |
PN | potion_lobby_say (Potion *P, PN cl, PN self) |
PN | potion_about (Potion *P, PN cl, PN self) |
PN | potion_exit (Potion *P, PN cl, PN self) |
PN | potion_any_cmp (Potion *P, PN cl, PN self, PN value) |
PN | potion_lobby_list (Potion *P, PN cl, PN self, PN size) |
root namespace, the global environment and parent class of all builtins.
"srand" initialize random seed
seed | PNInteger |
Definition at line 163 of file mt19937ar.c.
"rand" generate random ulong number
Definition at line 173 of file mt19937ar.c.
global "isa?"
method: kind self == obj kind
Definition at line 534 of file objmodel.c.
"can"
the object call the named method?
Definition at line 596 of file objmodel.c.
"print"
the stringification of any object
Definition at line 602 of file objmodel.c.
global "exit"
method. exit(0)
Definition at line 658 of file objmodel.c.
"cmp" method. compare given value against argument.
value | PN |
Definition at line 26 of file primitive.c.