potion
0.2
|
the table class, based on khash More...
#include <table.h>
Public Member Functions | |
PN | potion_table_string (Potion *P, PN cl, PN self) |
PN | potion_table_empty (Potion *P) |
PN | potion_table_at (Potion *P, PN cl, PN self, PN key) |
PN | potion_table_each (Potion *P, PN cl, PN self, PN block) |
PN | potion_table_put (Potion *P, PN cl, PN self, PN key, PN value) |
PN | potion_table_remove (Potion *P, PN cl, PN self, PN key) |
PN | potion_table_length (Potion *P, PN cl, PN self) |
static PN | potion_table_slice (Potion *P, PN cl, PN self, PN keys) |
static PN | potion_table_keys (Potion *P, PN cl, PN self) |
static PN | potion_table_values (Potion *P, PN cl, PN self) |
Data Fields | |
PN_OBJECT_HEADER | |
PNType vt; PNUniq uniq. More... | |
PN_TABLE_HEADER | |
PN_SIZE n_buckets, size, n_occupied, upper_bound. More... | |
char | table [] |
the table class, based on khash
hash, the central table type, based on khash
PNTable::PN_TABLE_HEADER |