potion
0.2
|
byte strings are raw character data, volatile, may be appended/changed. More...
#include <potion.h>
Public Member Functions | |
#define | PN_STR_PTR(x) potion_str_ptr(x) |
#define | PN_STR_B(x) potion_bytes_string(P, PN_NIL, x) |
static PN | potion_str_ord (Potion *P, PN cl, PN self, PN index) |
PN | potion_bytes_clone (Potion *P, PN cl, PN self) |
PN | potion_bytes_append (Potion *P, PN cl, PN self, PN str) |
static PN | potion_bytes_length (Potion *P, PN cl, PN self) |
PN | potion_bytes_string (Potion *P, PN cl, PN self) |
static PN | potion_bytes_print (Potion *P, PN cl, PN self) |
static PN | potion_bytes_each (Potion *P, PN cl, PN self, PN block) |
static PN | potion_bytes_at (Potion *P, PN cl, PN self, PN index) |
Data Fields | |
PN_OBJECT_HEADER | |
PNType vt; PNUniq uniq. More... | |
PN_SIZE | len |
PN_SIZE | siz |
char | chars [] |
byte strings are raw character data, volatile, may be appended/changed.