23 return ((
struct PNLick *)
self)->attr;
30 PN licks = ((
struct PNLick *)
self)->inner;
39 return ((
struct PNLick *)
self)->name;
46 PN text = ((
struct PNLick *)
self)->inner;
PN potion_lick_name(Potion *P, PN cl, PN self)
PN_SIZE void potion_bytes_obj_string(Potion *, PN, PN)
PN potion_lick_string(Potion *P, PN cl, PN self)
PN PN potion_byte_str(Potion *, const char *)
#define potion_method(RCV, MSG, FN, SIG)
PN potion_lick_licks(Potion *P, PN cl, PN self)
PN potion_lick_text(Potion *P, PN cl, PN self)
a lick is a unit of generic tree data.
PN inner
"licks" PNTuple or "text" PNString member
void potion_lick_init(Potion *P)
PN potion_lick(Potion *P, PN name, PN inner, PN attr)
the global interpreter state P. currently singleton (not threads yet)
PN_SIZE pn_printf(Potion *, PN, const char *,...) __attribute__((format(printf
PN potion_lick_attr(Potion *P, PN cl, PN self)