p2
0.0
|
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 490 of file objmodel.c.
"forward"
method. Does nothing for the base object
Definition at line 504 of file objmodel.c.
"send"
method, call a method on self by name
self | |
method |
Definition at line 514 of file objmodel.c.
Definition at line 533 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 552 of file objmodel.c.