24 #pragma GCC diagnostic ignored "-Waddress"
26 #include <aerospike/as_bin.h>
27 #include <aerospike/as_key.h>
28 #include <aerospike/as_record.h>
29 #include <aerospike/as_status.h>
40 typedef struct as_batch_s {
82 typedef struct as_batch_read_s {
128 #define as_batch_inita(__batch, __size) \
129 if ( (__batch) != NULL ) {\
130 (__batch)->_free = false;\
131 (__batch)->keys.entries = (as_key *) alloca(sizeof(as_key) * __size);\
132 if ( (__batch)->keys.entries ) { \
133 (__batch)->keys._free = false;\
134 (__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)