35 typedef struct as_batch_s {
71 typedef struct as_batch_result_s {
128 #define as_batch_inita(__batch, __size) \
130 (__batch)->keys.entries = (as_key*) alloca(sizeof(as_key) * (__size));\
131 if ((__batch)->keys.entries) { \
132 (__batch)->keys.size = (__size);\
133 (__batch)->keys._free = false;\
135 (__batch)->_free = false;\
AS_EXTERN as_batch * as_batch_init(as_batch *batch, uint32_t size)
AS_EXTERN void as_batch_destroy(as_batch *batch)
AS_EXTERN as_batch * as_batch_new(uint32_t size)
as_batch_result as_batch_read
static as_key * as_batch_keyat(const as_batch *batch, uint32_t i)