Description
I've created two helper macros that can be used to extract or set the value of a record field using fewer function calls. So instead of
int rc; avro_datum_t field; char *value; rc = avro_record_get(record, "name", &field); rc = avro_string_get(field, &value);
you can do:
int rc; char *value; avro_record_get_field_value(rc, record, string, "name", &value);