p2
0.0
|
a weak ref is used for upvals, it acts as a memory slot, non-volatile but mutable. More...
#include <potion.h>
Public Member Functions | |
PN | potion_ref (Potion *P, PN data) |
PN | potion_ref_string (Potion *P, PN cl, PN self, PN len) |
#define | PN_DEREF(x) ((struct PNWeakRef *)(x))->data |
Data Fields | |
PN_OBJECT_HEADER | |
PNType vt; PNUniq uniq. More... | |
PN | data |
a weak ref is used for upvals, it acts as a memory slot, non-volatile but mutable.
PNWeakRef constructor, get or set the attached ref data
data | - non-volatile but mutable |
Definition at line 473 of file objmodel.c.