39 typedef struct as_batch_s {
81 typedef struct as_batch_read_s {
127 #define as_batch_inita(__batch, __size) \
128 if ( (__batch) != NULL ) {\
129 (__batch)->_free = false;\
130 (__batch)->keys.entries = (as_key *) alloca(sizeof(as_key) * __size);\
131 if ( (__batch)->keys.entries ) { \
132 (__batch)->keys._free = false;\
133 (__batch)->keys.size = __size;\
as_key * as_batch_keyat(const as_batch *batch, uint32_t i)
as_batch * as_batch_new(uint32_t size)
void as_batch_destroy(as_batch *batch)
as_batch * as_batch_init(as_batch *batch, uint32_t size)