potion
0.2
|
standard objects act like C structs the fields are defined by the type and it's a fixed size, not volatile. More...
#include <potion.h>
Public Member Functions | |
PN | potion_object_string (Potion *P, PN cl, vPN(Object) self) |
PN | potion_object_forward (Potion *P, PN cl, PN self, PN method) |
PN | potion_object_send (Potion *P, PN cl, PN self, PN method) |
PN | potion_object_size (Potion *P, PN cl, PN self) |
PN | potion_object_subclass (Potion *P, PN cl, PN self, vPN(Vtable) vtable) |
Data Fields | |
PN_OBJECT_HEADER | |
PNType vt; PNUniq uniq. More... | |
PN | ivars [] |
standard objects act like C structs the fields are defined by the type and it's a fixed size, not volatile.
"string" method
Definition at line 484 of file objmodel.c.
"forward"
method. Does nothing for the base object
Definition at line 498 of file objmodel.c.
"send"
method, call a method on self by name
self | |
method |
Definition at line 508 of file objmodel.c.
Definition at line 527 of file objmodel.c.
"subclass?"
method (only single inheritence yet) TODO: http://www.eecs.berkeley.edu/~jrb/pve/ (fast subclass test via Packed Vector Encoding)
Definition at line 546 of file objmodel.c.